C# 클래스 withSIX.Core.Presentation.Wpf.Behaviors.WindowCloseBehavior

Attached behavior that keeps the window on the screen
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 프로퍼티들

프로퍼티 타입 설명
EscapeClosesWindowProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetEscapeClosesWindow ( DependencyObject d ) : bool

Gets the EscapeClosesWindow property. This dependency property indicates whether or not the escape key closes the window.

SetEscapeClosesWindow ( DependencyObject d, bool value ) : void

Sets the EscapeClosesWindow property. This dependency property indicates whether or not the escape key closes the window.

비공개 메소드들

메소드 설명
OnEscapeClosesWindowChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes to the EscapeClosesWindow property.

Window_PreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Handle the PreviewKeyDown event on the window

메소드 상세

GetEscapeClosesWindow() 공개 정적인 메소드

Gets the EscapeClosesWindow property. This dependency property indicates whether or not the escape key closes the window.
public static GetEscapeClosesWindow ( DependencyObject d ) : bool
d System.Windows.DependencyObject to get the property from
리턴 bool

SetEscapeClosesWindow() 공개 정적인 메소드

Sets the EscapeClosesWindow property. This dependency property indicates whether or not the escape key closes the window.
public static SetEscapeClosesWindow ( DependencyObject d, bool value ) : void
d System.Windows.DependencyObject to set the property on
value bool value of the property
리턴 void

프로퍼티 상세

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

KeepOnScreen Attached Dependency Property
public static DependencyProperty,System.Windows EscapeClosesWindowProperty
리턴 System.Windows.DependencyProperty