UndoRedoCommandBase.CanExecute Method |
Defines the method that determines whether the command can execute in its current state.
Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.5.21.0 (6.5.21.0)
C#
public bool CanExecute( Object parameter )
Parameters
- parameter
- Type: System.Object
Data used by the command. If the command does not require data to be passed, this object can be set to null.
Return Value
Type: Booleantrue if this command can be executed; otherwise, false.