C# Class AGENT.PackageViewer.Command.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.
Inheritance: System.Windows.DependencyObject, ICommand
Afficher le fichier Open project: nothingmn/AGENT.Contrib

Méthodes publiques

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

Méthodes publiques

Méthode Description
CanExecute ( object parameter ) : bool
CommandReference ( ) : System
Execute ( object parameter ) : void

Private Methods

Méthode Description
OnCommandChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

CanExecute() public méthode

public CanExecute ( object parameter ) : bool
parameter object
Résultat bool

CommandReference() public méthode

public CommandReference ( ) : System
Résultat System

Execute() public méthode

public Execute ( object parameter ) : void
parameter object
Résultat void

Property Details

CommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandProperty
Résultat System.Windows.DependencyProperty