Class
CommandDescriptor

Represents a wrapper for commands.

Definition

Namespace:Telerik.UI.Xaml.Controls.PdfViewer.Commands.Descriptors

Assembly:Telerik.WinUI.Controls.PdfViewer.dll

Syntax:

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

Inheritance: objectNotifyPropertyChangedBaseCommandDescriptorBaseCommandDescriptor

Derived Classes: ValidateSignaturesCommandDescriptor

Implements: INotifyPropertyChanged

Inherited Members CommandDescriptorBase.IsEnabledNotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.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.