C# 클래스 MetroRadiance.Chrome.WindowChrome

ウィンドウにアタッチされ、四辺にカスタム UI を表示する機能を提供します。
상속: System.Windows.DependencyObject
파일 보기 프로젝트 열기: Grabacr07/MetroRadiance 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BorderThicknessProperty System.Windows.DependencyProperty
CanResizeProperty System.Windows.DependencyProperty
InstanceProperty System.Windows.DependencyProperty
OverrideDefaultEdgeProperty System.Windows.DependencyProperty
SizingModeProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Attach() 공개 메소드

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

Attach() 공개 메소드

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

Close() 공개 메소드

public Close ( ) : void
리턴 void

Detach() 공개 메소드

public Detach ( ) : void
리턴 void

GetInstance() 공개 정적인 메소드

public static GetInstance ( Window window ) : WindowChrome
window System.Windows.Window
리턴 WindowChrome

GetSizingMode() 공개 정적인 메소드

public static GetSizingMode ( FrameworkElement element ) : SizingMode
element System.Windows.FrameworkElement
리턴 SizingMode

SetInstance() 공개 정적인 메소드

public static SetInstance ( Window window, WindowChrome value ) : void
window System.Windows.Window
value WindowChrome
리턴 void

SetSizingMode() 공개 정적인 메소드

public static SetSizingMode ( FrameworkElement element, SizingMode value ) : void
element System.Windows.FrameworkElement
value SizingMode
리턴 void

WindowChrome() 공개 메소드

public WindowChrome ( ) : System
리턴 System

프로퍼티 상세

BorderThicknessProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows BorderThicknessProperty
리턴 System.Windows.DependencyProperty

CanResizeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows CanResizeProperty
리턴 System.Windows.DependencyProperty

InstanceProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows InstanceProperty
리턴 System.Windows.DependencyProperty

OverrideDefaultEdgeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows OverrideDefaultEdgeProperty
리턴 System.Windows.DependencyProperty

SizingModeProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows SizingModeProperty
리턴 System.Windows.DependencyProperty