Class
ControlCommandBase<T>

Represents a command abstraction that is associated with a particular ICommand instance.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Type Parameters:

T

Syntax:

cs-api-definition
public abstract class ControlCommandBase<T> : AttachableObject<T>, ICommand where T : RadRadialMenu

Inheritance: objectAttachableObject<T>ControlCommandBase<T>

Derived Classes: RadialMenuCommand

Implements: ICommand

Inherited Members AttachableObject<T>.OnDetached(T)AttachableObject<T>.OnAttached()AttachableObject<T>.Owner

Constructors

ControlCommandBase()

Declaration

cs-api-definition
protected ControlCommandBase()

Methods

CanExecute(object)

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

Declaration

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

Parameters

parameter

object

The command parameter.

Returns

bool

The Default value is False.

Implements ICommand.CanExecute(object)

Execute(object)

Performs the core action given the provided parameter.

Declaration

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

Parameters

parameter

object

The command parameter.

Implements ICommand.Execute(object)

OnCanExecuteChanged(EventArgs)

Raises the CanExecuteChanged event.

Declaration

cs-api-definition
protected virtual void OnCanExecuteChanged(EventArgs e)

Parameters

e

EventArgs

Events

CanExecuteChanged

Occurs when the CanExecute state of the command changes.

Declaration

cs-api-definition
public event EventHandler CanExecuteChanged

Event Value

EventHandler

Implements ICommand.CanExecuteChanged