CommandDescriptor
Class
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:
Implements:
Inherited Members
Constructors
Initializes a new instance of the CommandDescriptor class.
C#
public CommandDescriptor(FixedDocumentViewerCommandBase command, bool isEnabled = true)
The command.
isEnabledboolThe is enabled.
Properties
Gets the command.
C#
public override ICommand Command { get; }
The command.
Overrides:
Gets the default command descriptor.
C#
public static CommandDescriptor Default { get; }
The default.