Summary
This custom popup is used by the validation error template.
It provides some additional nice features:
- repositioning if host-window size or location changed
- repositioning if host-window gets maximized and vice versa
- it's only topmost if the host-window is activated
- Namespace
- MahApps
.Metro .Controls - Base Types
-
- Popup
graph BT
Type-->Base0["Popup"]
Type["CustomValidationPopup"]
class Type type-node
Syntax
public class CustomValidationPopup : Popup
Constructors
Name | Summary |
---|---|
Custom |
Fields
Name | Constant Value | Summary |
---|---|---|
Adorned |
Identifies the
AdornedElement dependency property.static
|
|
CanShowProperty |
Identifies the
CanShow dependency property.static
|
|
Close |
Identifies the
CloseOnMouseLeftButtonDown dependency property.static
|
|
Show |
Identifies the
ShowValidationErrorOnMouseOver dependency property.static
|
Properties
Name | Value | Summary |
---|---|---|
AdornedElement | UIElement |
Gets or sets the
System.Windows.UIElement that this System.Windows.Controls.Primitives.Popup object is reserving space for.
|
CanShow | bool |
Gets whether the popup can be shown (useful for transitions).
|
Close |
bool |
Gets or sets whether if the popup can be closed by left mouse button down.
|
Show |
bool |
Gets or sets whether the validation error text will be shown when hovering the validation triangle.
|
Methods
Name | Value | Summary |
---|---|---|
OnLoaded |
void | |
On |
void | |
OnUnLoaded |
void |