C# Class MahApps.Metro.Controls.CustomValidationPopup

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
Inheritance: System.Windows.Controls.Primitives.Popup
Afficher le fichier Open project: MahApps/MahApps.Metro

Méthodes publiques

Свойство Type Description
CloseOnMouseLeftButtonDownProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
CustomValidationPopup ( ) : System

Méthodes protégées

Méthode Description
OnPreviewMouseLeftButtonDown ( MouseButtonEventArgs e ) : void

Private Methods

Méthode Description
CustomValidationPopup_Loaded ( object sender, RoutedEventArgs e ) : void
CustomValidationPopup_Opened ( object sender, EventArgs e ) : void
CustomValidationPopup_Unloaded ( object sender, RoutedEventArgs e ) : void
SetTopmostState ( bool isTop ) : void
hostWindow_Activated ( object sender, EventArgs e ) : void
hostWindow_Deactivated ( object sender, EventArgs e ) : void
hostWindow_SizeOrLocationChanged ( object sender, EventArgs e ) : void
hostWindow_StateChanged ( object sender, EventArgs e ) : void

Method Details

CustomValidationPopup() public méthode

public CustomValidationPopup ( ) : System
Résultat System

OnPreviewMouseLeftButtonDown() protected méthode

protected OnPreviewMouseLeftButtonDown ( MouseButtonEventArgs e ) : void
e MouseButtonEventArgs
Résultat void

Property Details

CloseOnMouseLeftButtonDownProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseOnMouseLeftButtonDownProperty
Résultat System.Windows.DependencyProperty