C# 클래스 ModernWPF.Controls.DialogControl

A user control that can be hosted in a DialogControlContainer like a dialog.
상속: System.Windows.Controls.UserControl
파일 보기 프로젝트 열기: soukoku/ModernWPF 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CloseOnContainerClickProperty System.Windows.DependencyProperty
CloseOnEscapeKeyProperty System.Windows.DependencyProperty
DisableTargetProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
DialogControl System
ShowDialog void
ShowDialogModal bool?
TryFocus void

공개 메소드들

메소드 설명
ShowDialog ( DialogControlContainer container ) : void

Shows the dialog on a DialogControlContainer.

ShowDialogModal ( DialogControlContainer container ) : bool?

Shows the dialog on a DialogControlContainer.

보호된 메소드들

메소드 설명
OnClosed ( ) : void

Called when dialog has been closed.

OnFocus ( ) : void

Called when dialog has been shown and focus needs to happen.

OnKeyDown ( System e ) : void

Invoked when an unhandled E:System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

비공개 메소드들

메소드 설명
DialogControl ( ) : System
ShowDialog ( Window window ) : void
ShowDialogModal ( Window window ) : bool?
TryFocus ( ) : void

메소드 상세

OnClosed() 보호된 메소드

Called when dialog has been closed.
protected OnClosed ( ) : void
리턴 void

OnFocus() 보호된 메소드

Called when dialog has been shown and focus needs to happen.
protected OnFocus ( ) : void
리턴 void

OnKeyDown() 보호된 메소드

Invoked when an unhandled E:System.Windows.Input.Keyboard.KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnKeyDown ( System e ) : void
e System The that contains the event data.
리턴 void

ShowDialog() 공개 메소드

Shows the dialog on a DialogControlContainer.
container
public ShowDialog ( DialogControlContainer container ) : void
container DialogControlContainer The container.
리턴 void

ShowDialogModal() 공개 메소드

Shows the dialog on a DialogControlContainer.
container
public ShowDialogModal ( DialogControlContainer container ) : bool?
container DialogControlContainer The container.
리턴 bool?

프로퍼티 상세

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

The dependency property for CloseOnContainerClick.
public static DependencyProperty,System.Windows CloseOnContainerClickProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for CloseOnEscapeKey.
public static DependencyProperty,System.Windows CloseOnEscapeKeyProperty
리턴 System.Windows.DependencyProperty

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

The dependency property for CloseOnEscapeKey.
public static DependencyProperty,System.Windows DisableTargetProperty
리턴 System.Windows.DependencyProperty