Class
CommandDescriptorBase

Represents a wrapper for commands.

Definition

Namespace:Telerik.Windows.Documents.Commands.Descriptors

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

cs-api-definition
public abstract class CommandDescriptorBase : INotifyPropertyChanged

Inheritance: objectCommandDescriptorBase

Derived Classes: CommandDescriptorCompositeCommandDescriptor<T>

Implements: INotifyPropertyChanged

Constructors

CommandDescriptorBase(bool)

Initializes a new instance of the CommandDescriptorBase class.

Declaration

cs-api-definition
public CommandDescriptorBase(bool isEnabled = true)

Parameters

isEnabled

bool

The is enabled.

Properties

Command

Gets the command.

Declaration

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

Property Value

ICommand

The command.

IsEnabled

Gets or sets a value indicating the command descriptor is enabled.

Declaration

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

Property Value

bool

The is enabled.

Methods

OnPropertyChanged(string)

Called when [property changed].

Declaration

cs-api-definition
protected void OnPropertyChanged(string name)

Parameters

name

string

The name.

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged