IOwnedCommand, interface
Une commande dont l'état est déterminé par un certain « propriétaire qui est ensuite chargé de déclencher l'événement de CanExecuteChanged de l'ICommand.
Espace de noms : Microsoft.TeamFoundation.MVVM
Assembly : Microsoft.TeamFoundation.Controls (dans Microsoft.TeamFoundation.Controls.dll)
Syntaxe
'Déclaration
Public Interface IOwnedCommand _
Inherits ICommand
public interface IOwnedCommand : ICommand
Le type IOwnedCommand expose les membres suivants.
Méthodes
Nom | Description | |
---|---|---|
![]() |
CanExecute | Définit la méthode qui détermine si la commande peut s'exécuter dans son état actuel. (Hérité de ICommand.) |
![]() |
Execute | Définit la méthode à appeler lorsque la commande est appelée. (Hérité de ICommand.) |
![]() |
RaiseCanExecuteChanged |
Début
Événements
Nom | Description | |
---|---|---|
![]() |
CanExecuteChanged | Se produit lorsque des modifications influent sur l'exécution de la commande. (Hérité de ICommand.) |
Début