Evento ToolCommandBinding.CanExecute

Ocorre quando o QueryEnabled para o comando é chamado.

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

Sintaxe

'Declaração
Public Event CanExecute As CanExecuteToolEventHandler
public event CanExecuteToolEventHandler CanExecute
public:
 event CanExecuteToolEventHandler^ CanExecute {
    void add (CanExecuteToolEventHandler^ value);
    void remove (CanExecuteToolEventHandler^ value);
}
member CanExecute : IEvent<CanExecuteToolEventHandler,
    CanExecuteToolEventArgs>
O JScript não oferece suporte a eventos.

Segurança do .NET Framework

Consulte também

Referência

ToolCommandBinding Classe

Namespace Microsoft.Windows.Design.Interaction

Outros recursos

Extensibilidade do WPF Designer

Ferramenta de Arquitetura