CanExecuteToolEventArgs.CanExecute-Eigenschaft

Ruft ab oder legt fest, ob der Befehl ausgeführt werden kann.

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

Syntax

'Declaration
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)

Eigenschaftswert

Typ: System.Boolean
true, wenn der Befehl ausgeführt werden kann, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

CanExecuteToolEventArgs Klasse

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

WPF-Designer-Erweiterbarkeit

Toolarchitektur