Class
CommandDescriptor

Represents a wrapper for commands.

Definition

Namespace:Telerik.Windows.Documents.Commands.Descriptors

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

cs-api-definition
public class CommandDescriptor : CommandDescriptorBase, INotifyPropertyChanged

Inheritance: objectCommandDescriptorBaseCommandDescriptor

Derived Classes: ValidateSignaturesCommandDescriptor

Implements: INotifyPropertyChanged

Inherited Members CommandDescriptorBase.OnPropertyChanged(string)CommandDescriptorBase.IsEnabledCommandDescriptorBase.PropertyChanged

Constructors

CommandDescriptor(FixedDocumentViewerCommandBase, bool)

Initializes a new instance of the CommandDescriptor class.

Declaration

cs-api-definition
public CommandDescriptor(FixedDocumentViewerCommandBase command, bool isEnabled = true)

Parameters

command

FixedDocumentViewerCommandBase

The command.

isEnabled

bool

The is enabled.

Properties

Command

Gets the command.

Declaration

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

Property Value

ICommand

The command.

Overrides CommandDescriptorBase.Command

Default

Gets the default command descriptor.

Declaration

cs-api-definition
public static CommandDescriptor Default { get; }

Property Value

CommandDescriptor

The default.