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

Represents a wrapper for commands.

Definition

Namespace:Telerik.Windows.Documents.Commands.Descriptors

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
public class CommandDescriptor : CommandDescriptorBase, INotifyPropertyChanged

Inheritance: objectCommandDescriptorBaseCommandDescriptor

Derived Classes: ValidateSignaturesCommandDescriptor

Implements: INotifyPropertyChanged

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

Constructors

Initializes a new instance of the CommandDescriptor class.

C#
public CommandDescriptor(FixedDocumentViewerCommandBase command, bool isEnabled = true)
Parameters:commandFixedDocumentViewerCommandBase

The command.

isEnabledbool

The is enabled.

Properties

Gets the command.

C#
public override ICommand Command { get; }
Property Value:

The command.

Overrides: CommandDescriptorBase.Command

Gets the default command descriptor.

C#
public static CommandDescriptor Default { get; }
Property Value:

The default.