Class CompositeCommand
Represents a composite command.
Inherited Members
Namespace: Telerik.Windows.Documents.Commands
Assembly: Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax
public class CompositeCommand : FixedDocumentViewerCommandBase, ICommand
Constructors
CompositeCommand(FixedDocumentViewerBase, ICommand[])
Initializes a new instance of the CompositeCommand class.
Declaration
public CompositeCommand(FixedDocumentViewerBase viewer, params ICommand[] commands)
Parameters
FixedDocumentViewerBase
viewer
The viewer. |
System.Windows.Input.ICommand[]
commands
The commands. |
Methods
CanExecuteOverride(Object)
Determines whether the command can be executed.
Declaration
public override bool CanExecuteOverride(object parameter)
Parameters
System.Object
parameter
The parameter. |
Returns
System.Boolean
Returns if the command can be executed. |
Overrides
Execute(Object)
Defines the method to be called when the command is invoked.
Declaration
public override void Execute(object parameter)
Parameters
System.Object
parameter
Data used by the command. If the command does not require data to be passed, this object can be set to null. |