Propriedade CanExecuteToolEventArgs.CanExecute

Obtém ou define se o comando pode ser executado.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)

Sintaxe

'Declaração
Public Property CanExecute As Boolean
    Get
    Set
public bool CanExecute { get; set; }
public:
property bool CanExecute {
    bool get ();
    void set (bool value);
}
member CanExecute : bool with get, set
function get CanExecute () : boolean
function set CanExecute (value : boolean)

Valor de propriedade

Tipo: System.Boolean
true Se o comando pode ser executado; Caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

CanExecuteToolEventArgs Classe

Namespace Microsoft.Windows.Design.Interaction

Outros recursos

Extensibilidade do WPF Designer

Ferramenta de Arquitetura