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:
Implements:
Inherited Members
Constructors
Initializes a new instance of the CompositeCommandDescriptor<T> class.
C#
public CompositeCommandDescriptor(bool isEnabled, params KeyValuePair<T, FixedDocumentViewerCommandBase>[] data)
The is enabled.
dataKeyValuePair<T, FixedDocumentViewerCommandBase>[]The data.
Methods
Gets the command.
C#
protected FixedDocumentViewerCommandBase GetCommand(T key)
The key.
Returns:Called when the command is changed.
C#
protected void OnCommandChanged()