ClassCompositeCommandDescriptor<T>
Class
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:
Implements:
Inherited Members
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
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
OnCommandChanged()
Called when the command is changed.
Declaration
cs-api-definition
protected void OnCommandChanged()