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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace