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

Represents composite command descriptor class.

Definition

Namespace:Telerik.Windows.Documents.Commands.Descriptors

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Type Parameters:

T

Syntax:

C#
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

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

C#
public CompositeCommandDescriptor(bool isEnabled, params KeyValuePair<T, FixedDocumentViewerCommandBase>[] data)
Parameters:isEnabledbool

The is enabled.

dataKeyValuePair<T, FixedDocumentViewerCommandBase>[]

The data.

Methods

Gets the command.

C#
protected FixedDocumentViewerCommandBase GetCommand(T key)
Parameters:keyT

The key.

Returns:

FixedDocumentViewerCommandBase

Called when the command is changed.

C#
protected void OnCommandChanged()