Class
CompositeCommandDescriptor<T>

Represents composite command descriptor class.

Definition

Namespace:Telerik.Windows.Documents.Commands.Descriptors

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectCommandDescriptorBaseCompositeCommandDescriptor<T>

Derived Classes: ArrowKeyCommandDescriptor

Implements: INotifyPropertyChanged

Inherited Members CommandDescriptorBase.OnPropertyChanged(string)CommandDescriptorBase.CommandCommandDescriptorBase.IsEnabledCommandDescriptorBase.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()