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
'Usage
Dim instance As CanExecuteToolEventArgs
Dim value As Boolean
value = instance.CanExecute
instance.CanExecute = value
public bool CanExecute { get; set; }
public:
property bool CanExecute {
bool get ();
void set (bool value);
}
public function get CanExecute () : boolean
public 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
CanExecuteToolEventArgs Members
Microsoft.Windows.Design.Interaction Namespace