Class RadialMenuUserCommand
Represents a predefined command that aggregates a custom ICommand implementation, which may be used to perform additional action over the default implementation.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.RadialMenu.Commands
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public sealed class RadialMenuUserCommand : RadialMenuCommand, ICommand
Constructors
RadialMenuUserCommand()
Declaration
public RadialMenuUserCommand()
Fields
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
System.Windows.DependencyProperty
|
EnableDefaultCommandProperty
Identifies the EnableDefaultCommand dependency property.
Declaration
public static readonly DependencyProperty EnableDefaultCommandProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Command
Gets or sets the System.Windows.Input.ICommand implementation that is used to perform the custom logic associated with this command.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
EnableDefaultCommand
Gets or sets a value indicating whether the default command implementation, related to the current CommandId, should be executed.
Declaration
public bool EnableDefaultCommand { get; set; }
Property Value
System.Boolean
The default value is |
Methods
CanExecute(Object)
Determines whether the command can be executed against the provided parameter.
Declaration
public override bool CanExecute(object parameter)
Parameters
System.Object
parameter
The command parameter. |
Returns
System.Boolean
Boolean value that specifies whether the command can be executed. |
Overrides
Execute(Object)
Performs the core action given the provided parameter.
Declaration
public override void Execute(object parameter)
Parameters
System.Object
parameter
The command parameter. |