C# Class MetroRadiance.Chrome.WindowChrome

ウィンドウにアタッチされ、四辺にカスタム UI を表示する機能を提供します。
Inheritance: System.Windows.DependencyObject
Afficher le fichier Open project: Grabacr07/MetroRadiance Class Usage Examples

Méthodes publiques

Свойство Type Description
BorderThicknessProperty System.Windows.DependencyProperty
CanResizeProperty System.Windows.DependencyProperty
InstanceProperty System.Windows.DependencyProperty
OverrideDefaultEdgeProperty System.Windows.DependencyProperty
SizingModeProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
Attach ( IChromeOwner window ) : void

指定したウィンドウに、このクローム UI をアタッチします。

Attach ( Window window ) : void

指定した WPF Window に、このクローム UI をアタッチします。

Close ( ) : void
Detach ( ) : void
GetInstance ( Window window ) : WindowChrome
GetSizingMode ( FrameworkElement element ) : SizingMode
SetInstance ( Window window, WindowChrome value ) : void
SetSizingMode ( FrameworkElement element, SizingMode value ) : void
WindowChrome ( ) : System

Private Methods

Méthode Description
BorderThicknessPropertyCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
CanResizePropertyCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
InstanceChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OverrideDefaultEdgePropertyCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SizingElementButtonDownCallback ( object sender, System.Windows.Input.MouseButtonEventArgs args ) : void
SizingModeChangedCallback ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UpdateThickness ( System.Windows.Thickness thickness ) : void

Method Details

Attach() public méthode

指定したウィンドウに、このクローム UI をアタッチします。
public Attach ( IChromeOwner window ) : void
window IChromeOwner
Résultat void

Attach() public méthode

指定した WPF Window に、このクローム UI をアタッチします。
public Attach ( Window window ) : void
window System.Windows.Window
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Detach() public méthode

public Detach ( ) : void
Résultat void

GetInstance() public static méthode

public static GetInstance ( Window window ) : WindowChrome
window System.Windows.Window
Résultat WindowChrome

GetSizingMode() public static méthode

public static GetSizingMode ( FrameworkElement element ) : SizingMode
element System.Windows.FrameworkElement
Résultat SizingMode

SetInstance() public static méthode

public static SetInstance ( Window window, WindowChrome value ) : void
window System.Windows.Window
value WindowChrome
Résultat void

SetSizingMode() public static méthode

public static SetSizingMode ( FrameworkElement element, SizingMode value ) : void
element System.Windows.FrameworkElement
value SizingMode
Résultat void

WindowChrome() public méthode

public WindowChrome ( ) : System
Résultat System

Property Details

BorderThicknessProperty public_oe static_oe property

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

CanResizeProperty public_oe static_oe property

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

InstanceProperty public_oe static_oe property

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

OverrideDefaultEdgeProperty public_oe static_oe property

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

SizingModeProperty public_oe static_oe property

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