C# 클래스 ModernWPF.Chrome

Attached property class for making a Window modern.
상속: System.Windows.Freezable
파일 보기 프로젝트 열기: soukoku/ModernWPF 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActiveBorderBrushProperty System.Windows.DependencyProperty
ActiveCaptionBrushProperty System.Windows.DependencyProperty
ActiveCaptionForegroundProperty System.Windows.DependencyProperty
CaptionExtraContentProperty System.Windows.DependencyProperty
CaptionHeightProperty System.Windows.DependencyProperty
ChromeProperty System.Windows.DependencyProperty
InactiveBorderBrushProperty System.Windows.DependencyProperty
InactiveCaptionBrushProperty System.Windows.DependencyProperty
InactiveCaptionForegroundProperty System.Windows.DependencyProperty
IsCaptionProperty System.Windows.DependencyProperty
IsHitTestVisibleProperty System.Windows.DependencyProperty
ResizeBorderThicknessProperty System.Windows.DependencyProperty
ShowCaptionIconProperty System.Windows.DependencyProperty
ShowCaptionTextProperty System.Windows.DependencyProperty
ShowControlBoxesProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
ChromeChanged void
GetChrome Chrome
SetChrome void

공개 메소드들

메소드 설명
GetCaptionExtraContent ( Window window ) : object

Gets the extra content on the caption area.

GetCaptionHeight ( DependencyObject obj ) : double

Gets the height of the window caption area.

GetIsCaption ( IInputElement inputElement ) : bool

Gets the IsCaption value.

GetIsHitTestVisible ( IInputElement inputElement ) : bool

Gets the IsHitTestVisible property for the element.

GetShowCaptionIcon ( DependencyObject obj ) : bool

Gets the value indicating whether to show caption icon on the window.

GetShowCaptionText ( DependencyObject obj ) : bool

Gets the value indicating whether to show caption text on the window.

GetShowControlBoxes ( DependencyObject obj ) : bool

Gets whether to show control boxes in ModernWindow style.

SetCaptionExtraContent ( Window window, object value ) : void

Sets the extra content on the caption area.

SetCaptionHeight ( DependencyObject obj, double value ) : void

Sets the height of the window caption area.

SetIsCaption ( IInputElement inputElement, bool isCaption ) : void

Sets the IsCaption value.

SetIsHitTestVisible ( IInputElement inputElement, bool hitTestVisible ) : void

Sets the IsHitTestVisible property for the element.

SetShowCaptionIcon ( DependencyObject obj, bool value ) : void

Sets the value indicating whether to show caption text on the window.

SetShowCaptionText ( DependencyObject obj, bool value ) : void

Gets the value indicating whether to show caption text on the window.

SetShowControlBoxes ( DependencyObject obj, bool value ) : void

Sets whether to show control boxes.

보호된 메소드들

메소드 설명
CreateInstanceCore ( ) : System.Windows.Freezable

When implemented in a derived class, creates a new instance of the T:System.Windows.Freezable derived class.

비공개 메소드들

메소드 설명
ChromeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
GetChrome ( Window window ) : Chrome
SetChrome ( Window window, Chrome chrome ) : void

메소드 상세

CreateInstanceCore() 보호된 메소드

When implemented in a derived class, creates a new instance of the T:System.Windows.Freezable derived class.
protected CreateInstanceCore ( ) : System.Windows.Freezable
리턴 System.Windows.Freezable

GetCaptionExtraContent() 공개 정적인 메소드

Gets the extra content on the caption area.
public static GetCaptionExtraContent ( Window window ) : object
window System.Windows.Window The object.
리턴 object

GetCaptionHeight() 공개 정적인 메소드

Gets the height of the window caption area.
public static GetCaptionHeight ( DependencyObject obj ) : double
obj System.Windows.DependencyObject The object.
리턴 double

GetIsCaption() 공개 정적인 메소드

Gets the IsCaption value.
public static GetIsCaption ( IInputElement inputElement ) : bool
inputElement IInputElement The input element.
리턴 bool

GetIsHitTestVisible() 공개 정적인 메소드

Gets the IsHitTestVisible property for the element.
public static GetIsHitTestVisible ( IInputElement inputElement ) : bool
inputElement IInputElement The input element.
리턴 bool

GetShowCaptionIcon() 공개 정적인 메소드

Gets the value indicating whether to show caption icon on the window.
public static GetShowCaptionIcon ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The object.
리턴 bool

GetShowCaptionText() 공개 정적인 메소드

Gets the value indicating whether to show caption text on the window.
public static GetShowCaptionText ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The object.
리턴 bool

GetShowControlBoxes() 공개 정적인 메소드

Gets whether to show control boxes in ModernWindow style.
public static GetShowControlBoxes ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject The object.
리턴 bool

SetCaptionExtraContent() 공개 정적인 메소드

Sets the extra content on the caption area.
public static SetCaptionExtraContent ( Window window, object value ) : void
window System.Windows.Window The object.
value object The value.
리턴 void

SetCaptionHeight() 공개 정적인 메소드

Sets the height of the window caption area.
public static SetCaptionHeight ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject The object.
value double The value.
리턴 void

SetIsCaption() 공개 정적인 메소드

Sets the IsCaption value.
public static SetIsCaption ( IInputElement inputElement, bool isCaption ) : void
inputElement IInputElement The input element.
isCaption bool if set to true then the element is hit test visible as caption.
리턴 void

SetIsHitTestVisible() 공개 정적인 메소드

Sets the IsHitTestVisible property for the element.
public static SetIsHitTestVisible ( IInputElement inputElement, bool hitTestVisible ) : void
inputElement IInputElement The input element.
hitTestVisible bool if set to true then the element is hit test visible in chrome.
리턴 void

SetShowCaptionIcon() 공개 정적인 메소드

Sets the value indicating whether to show caption text on the window.
public static SetShowCaptionIcon ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The object.
value bool if set to true [value].
리턴 void

SetShowCaptionText() 공개 정적인 메소드

Gets the value indicating whether to show caption text on the window.
public static SetShowCaptionText ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The object.
value bool if set to true then show window title.
리턴 void

SetShowControlBoxes() 공개 정적인 메소드

Sets whether to show control boxes.
public static SetShowControlBoxes ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The object.
value bool if set to true then show the control boxes.
리턴 void

프로퍼티 상세

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

The dependency property for ActiveBorderBrush.
public static DependencyProperty,System.Windows ActiveBorderBrushProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for ActiveCaptionBrush.
public static DependencyProperty,System.Windows ActiveCaptionBrushProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for ActiveCaptionForeground.
public static DependencyProperty,System.Windows ActiveCaptionForegroundProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for CaptionExtraContent.
public static DependencyProperty,System.Windows CaptionExtraContentProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for CaptionHeight.
public static DependencyProperty,System.Windows CaptionHeightProperty
리턴 System.Windows.DependencyProperty

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

The modern chrome attached property.
public static DependencyProperty,System.Windows ChromeProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for InactiveBorderBrush.
public static DependencyProperty,System.Windows InactiveBorderBrushProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for InactiveCaptionBrush.
public static DependencyProperty,System.Windows InactiveCaptionBrushProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for InactiveCaptionForeground.
public static DependencyProperty,System.Windows InactiveCaptionForegroundProperty
리턴 System.Windows.DependencyProperty

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

Attached property to mark a UI element as caption during hit-tests.
public static DependencyProperty,System.Windows IsCaptionProperty
리턴 System.Windows.DependencyProperty

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

Attached property to mark a UI element as hit-testable when in the window caption area.
public static DependencyProperty,System.Windows IsHitTestVisibleProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for ResizeBorderThickness.
public static DependencyProperty,System.Windows ResizeBorderThicknessProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for ShowCaptionIcon.
public static DependencyProperty,System.Windows ShowCaptionIconProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for ShowCaptionText.
public static DependencyProperty,System.Windows ShowCaptionTextProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for ShowControlBoxes.
public static DependencyProperty,System.Windows ShowControlBoxesProperty
리턴 System.Windows.DependencyProperty