Share via


CanExecuteToolEventArgs.CanExecute Property

Get or sets whether the command can be executed.

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)

Property Value

Type: System.Boolean
true if the command can be executed; otherwise, false.

.NET Framework Security

See Also

Reference

CanExecuteToolEventArgs Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility

Tool Architecture