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