Class
CompositeCommandDescriptor<T>

Represents composite command descriptor class.

Definition

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

Assembly:Telerik.WinUI.Controls.PdfViewer.dll

Type Parameters:

T

Syntax:

cs-api-definition
public abstract class CompositeCommandDescriptor<T> : CommandDescriptorBase, INotifyPropertyChanged

Inheritance: objectNotifyPropertyChangedBaseCommandDescriptorBaseCompositeCommandDescriptor<T>

Derived Classes: ArrowKeyCommandDescriptor

Implements: INotifyPropertyChanged

Inherited Members CommandDescriptorBase.CommandCommandDescriptorBase.IsEnabledNotifyPropertyChangedBase.OnPropertyChanged(string)NotifyPropertyChangedBase.UpdateValue<T>(ref T, T, string)NotifyPropertyChangedBase.PropertyChanged

Constructors

CompositeCommandDescriptor(bool, params KeyValuePair<T, FixedDocumentViewerCommandBase>[])

Initializes a new instance of the CompositeCommandDescriptor<T> class.

Declaration

cs-api-definition
public CompositeCommandDescriptor(bool isEnabled, params KeyValuePair<T, FixedDocumentViewerCommandBase>[] data)

Parameters

isEnabled

bool

The is enabled.

data

KeyValuePair<T, FixedDocumentViewerCommandBase>[]

The data.

Methods

GetCommand(T)

Gets the command.

Declaration

cs-api-definition
protected FixedDocumentViewerCommandBase GetCommand(T key)

Parameters

key

T

The key.

Returns

FixedDocumentViewerCommandBase

OnCommandChanged()

Called when the command is changed.

Declaration

cs-api-definition
protected void OnCommandChanged()