C# 클래스 GalaSoft.MvvmLight.Command.EventToCommand

This System.Windows.Interactivity.TriggerAction can be used to bind any event on any FrameworkElement to an ICommand. Typically, this element is used in XAML to connect the attached element to a command located in a ViewModel. This trigger can only be attached to a FrameworkElement or a class deriving from FrameworkElement.
파일 보기 프로젝트 열기: leetreveil/Zune-Social-Tagger 1 사용 예제들

공개 프로퍼티들

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

보호된 메소드들

메소드 설명
OnAttached ( ) : void

Called when this trigger is attached to a DependencyObject.

비공개 메소드들

메소드 설명
GetAssociatedObject ( ) : FrameworkElement

This method is here for compatibility with the Silverlight version.

GetCommand ( ) : ICommand

This method is here for compatibility with the Silverlight version.

메소드 상세

OnAttached() 보호된 메소드

Called when this trigger is attached to a DependencyObject.
protected OnAttached ( ) : void
리턴 void

프로퍼티 상세

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

Identifies the CommandParameter dependency property
public static DependencyProperty,System.Windows CommandParameterProperty
리턴 System.Windows.DependencyProperty

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

Identifies the Command dependency property
public static DependencyProperty,System.Windows CommandProperty
리턴 System.Windows.DependencyProperty

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

Identifies the MustToggleIsEnabled dependency property
public static DependencyProperty,System.Windows MustToggleIsEnabledProperty
리턴 System.Windows.DependencyProperty