ToolCommandBinding.CanExecute (Evento)

Actualización: noviembre 2007

Se produce cuando se llama a QueryEnabled para el comando.

Espacio de nombres:  Microsoft.Windows.Design.Interaction
Ensamblado:  Microsoft.Windows.Design.Interaction (en Microsoft.Windows.Design.Interaction.dll)

Sintaxis

Public Event CanExecute As CanExecuteToolEventHandler

Dim instance As ToolCommandBinding
Dim handler As CanExecuteToolEventHandler

AddHandler instance.CanExecute, handler
public event CanExecuteToolEventHandler CanExecute
public:
 event CanExecuteToolEventHandler^ CanExecute {
    void add (CanExecuteToolEventHandler^ value);
    void remove (CanExecuteToolEventHandler^ value);
}
JScript no admite eventos.

Permisos

Vea también

Referencia

ToolCommandBinding (Clase)

ToolCommandBinding (Miembros)

Microsoft.Windows.Design.Interaction (Espacio de nombres)

Otros recursos

Extensibilidad de WPF Designer

Arquitectura de herramientas