C# Class Common.WindowStyle.WindowCustomBorderStyle

Inheritance: System.Windows.ResourceDictionary
Afficher le fichier Open project: rabbal/WPFEducation_Management

Méthodes publiques

Méthode Description
WindowCustomBorderStyle ( ) : System

Private Methods

Méthode Description
CloseWindow ( object sender, RoutedEventArgs e ) : void

Fires when the user clicks the Close button on the window's custom title bar.

InitializeComponent ( ) : void
MaximizeWindow ( object sender, RoutedEventArgs e ) : void

Fires when the user clicks the maximize button on the window's custom title bar.

MinimizeWindow ( object sender, RoutedEventArgs e ) : void

Fires when the user clicks the minimize button on the window's custom title bar.

MoveWindow ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Handles the MouseLeftButtonDown event. This event handler is used here to facilitate dragging of the Window.

OnBorderMouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Called when the user drags the title bar when maximized.

OnThemeSelectionChanged ( object sender, System e ) : void
OnWindowLoaded ( object sender, RoutedEventArgs e ) : void

Called when a window gets loaded. We initialize resizers and update constraints.

OnWindowSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Called when the window gets resized.

System ( int connectionId, object target ) : void
UpdateWindowConstraints ( Window window ) : void

Updates the window constraints based on its state. For instance, the max width and height of the window is set to prevent overlapping over the taskbar.

Method Details

WindowCustomBorderStyle() public méthode

public WindowCustomBorderStyle ( ) : System
Résultat System