C# 클래스 WpfRichText.Ex.Commands.CommandReference

This class facilitates associating a key binding in XAML markup to a command defined in a View Model by exposing a Command dependency property. The class derives from Freezable to work around a limitation in WPF when data-binding from XAML.
상속: System.Windows.Freezable, ICommand
파일 보기 프로젝트 열기: nefarius/WpfRichText.Ex 1 사용 예제들

공개 프로퍼티들

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

공개 메소드들

메소드 설명
CanExecute ( object parameter ) : bool
CommandReference ( ) : System
Execute ( object parameter ) : void

보호된 메소드들

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

비공개 메소드들

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

메소드 상세

CanExecute() 공개 메소드

public CanExecute ( object parameter ) : bool
parameter object
리턴 bool

CommandReference() 공개 메소드

public CommandReference ( ) : System
리턴 System

CreateInstanceCore() 보호된 메소드

protected CreateInstanceCore ( ) : System.Windows.Freezable
리턴 System.Windows.Freezable

Execute() 공개 메소드

public Execute ( object parameter ) : void
parameter object
리턴 void

프로퍼티 상세

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

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