New to Telerik UI for WPFStart a free 30-day trial

Represents a predefined command that aggregates a custom ICommand implementation, which may be used to perform additional action over the default implementation.

Definition

Namespace:Telerik.Windows.Controls.RadialMenu.Commands

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public sealed class RadialMenuUserCommand : RadialMenuCommand, ICommand

Inheritance: objectAttachableObject<RadRadialMenu>ControlCommandBase<RadRadialMenu>RadialMenuCommandRadialMenuUserCommand

Implements: ICommand

Inherited Members RadialMenuCommand.IdControlCommandBase<RadRadialMenu>.CanExecuteChangedAttachableObject<RadRadialMenu>.Owner

Constructors

C#
public RadialMenuUserCommand()

Fields

CommandProperty

DependencyProperty

Identifies the Command dependency property.

C#
public static readonly DependencyProperty CommandProperty

Identifies the EnableDefaultCommand dependency property.

C#
public static readonly DependencyProperty EnableDefaultCommandProperty

Properties

Gets or sets the ICommand implementation that is used to perform the custom logic associated with this command.

C#
public ICommand Command { get; set; }

Gets or sets a value indicating whether the default command implementation, related to the current CommandId, should be executed.

C#
public bool EnableDefaultCommand { get; set; }
Property Value:

The default value is True.

Methods

Determines whether the command can be executed against the provided parameter.

C#
public override bool CanExecute(object parameter)
Parameters:parameterobject

The command parameter.

Returns:

bool

Boolean value that specifies whether the command can be executed.

Overrides: ControlCommandBase<RadRadialMenu>.CanExecute(object)

Performs the core action given the provided parameter.

C#
public override void Execute(object parameter)
Parameters:parameterobject

The command parameter.

Overrides: ControlCommandBase<RadRadialMenu>.Execute(object)