C# 클래스 MVVMUndoRedo.CreateCommandContext

파일 보기 프로젝트 열기: danice/MVVMUndoRedo

공개 프로퍼티들

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

공개 메소드들

메소드 설명
GetContext ( UIElement element ) : ICommandContext
SetContext ( UIElement element, ICommandContext commandContext ) : void

비공개 메소드들

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

Callback when the Command property is set or changed.

메소드 상세

GetContext() 공개 정적인 메소드

public static GetContext ( UIElement element ) : ICommandContext
element System.Windows.UIElement
리턴 ICommandContext

SetContext() 공개 정적인 메소드

public static SetContext ( UIElement element, ICommandContext commandContext ) : void
element System.Windows.UIElement
commandContext ICommandContext
리턴 void

프로퍼티 상세

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

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