Class CompositeCommandDescriptor<T>
Represents composite command descriptor class.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Commands.Descriptors
Assembly: Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax
public abstract class CompositeCommandDescriptor<T> : CommandDescriptorBase, INotifyPropertyChanged
Type Parameters
T
|
Constructors
CompositeCommandDescriptor(Boolean, KeyValuePair<T, FixedDocumentViewerCommandBase>[])
Initializes a new instance of the CompositeCommandDescriptor<T> class.
Declaration
public CompositeCommandDescriptor(bool isEnabled, params KeyValuePair<T, FixedDocumentViewerCommandBase>[] data)
Parameters
System.Boolean
isEnabled
The is enabled. |
System.Collections.Generic.KeyValuePair<T, FixedDocumentViewerCommandBase>[]
data
The data. |
Methods
GetCommand(T)
Gets the command.
Declaration
protected FixedDocumentViewerCommandBase GetCommand(T key)
Parameters
T
key
The key. |
Returns
FixedDocumentViewerCommandBase
|
OnCommandChanged()
Called when the command is changed.
Declaration
protected void OnCommandChanged()