C# Class 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.
Afficher le fichier Open project: leetreveil/Zune-Social-Tagger Class Usage Examples

Méthodes publiques

Свойство Type Description
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
MustToggleIsEnabledProperty System.Windows.DependencyProperty

Méthodes protégées

Méthode Description
OnAttached ( ) : void

Called when this trigger is attached to a DependencyObject.

Private Methods

Méthode Description
GetAssociatedObject ( ) : FrameworkElement

This method is here for compatibility with the Silverlight version.

GetCommand ( ) : ICommand

This method is here for compatibility with the Silverlight version.

Method Details

OnAttached() protected méthode

Called when this trigger is attached to a DependencyObject.
protected OnAttached ( ) : void
Résultat void

Property Details

CommandParameterProperty public_oe static_oe property

Identifies the CommandParameter dependency property
public static DependencyProperty,System.Windows CommandParameterProperty
Résultat System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

Identifies the Command dependency property
public static DependencyProperty,System.Windows CommandProperty
Résultat System.Windows.DependencyProperty

MustToggleIsEnabledProperty public_oe static_oe property

Identifies the MustToggleIsEnabled dependency property
public static DependencyProperty,System.Windows MustToggleIsEnabledProperty
Résultat System.Windows.DependencyProperty