CommandAttribute.CanExecuteProperty Property |
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.5.19.0 (6.5.19.0)
The CanExecute property must be declared in the same class as the command property and return a bool value.
If this property is not set then the default CanExecuteFoo value is used, where Foo is the name of the command.