Class
RadialMenuUserCommand

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:

cs-api-definition
public sealed class RadialMenuUserCommand : RadialMenuCommand, ICommand

Inheritance: objectAttachableObject<RadRadialMenu>ControlCommandBase<RadRadialMenu>RadialMenuCommandRadialMenuUserCommand

Implements: ICommand

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

Constructors

RadialMenuUserCommand()

Declaration

cs-api-definition
public RadialMenuUserCommand()

Fields

CommandProperty

Identifies the Command dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

EnableDefaultCommandProperty

Identifies the EnableDefaultCommand dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EnableDefaultCommandProperty

Field Value

DependencyProperty

Properties

Command

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

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

EnableDefaultCommand

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

Declaration

cs-api-definition
public bool EnableDefaultCommand { get; set; }

Property Value

bool

The default value is True.

Methods

CanExecute(object)

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

Declaration

cs-api-definition
public override bool CanExecute(object parameter)

Parameters

parameter

object

The command parameter.

Returns

bool

Boolean value that specifies whether the command can be executed.

Overrides ControlCommandBase<RadRadialMenu>.CanExecute(object)

Execute(object)

Performs the core action given the provided parameter.

Declaration

cs-api-definition
public override void Execute(object parameter)

Parameters

parameter

object

The command parameter.

Overrides ControlCommandBase<RadRadialMenu>.Execute(object)