C# Class EVE_Fast_Fitting_Assessment.Themes.EveUiWindowStyle

Interaction logic for MyWindow.xaml
Inheritance: System.Windows.ResourceDictionary
ファイルを表示 Open project: rischwa/eve-fast-fitting-assessment

Public Methods

Method Description
EveUiWindowStyle ( ) : System

Private Methods

Method Description
CloseWindow ( object sender, RoutedEventArgs e ) : void

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

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.

OnStateChanged ( object sender, EventArgs eventArgs ) : void
OnThemeSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs 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.

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

EveUiWindowStyle() public method

public EveUiWindowStyle ( ) : System
return System