Class
CopyCommand

Represents copy command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

cs-api-definition
public class CopyCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseCopyCommand

Implements: ICommand

Inherited Members FixedDocumentViewerCommandBase.CanExecute(object)FixedDocumentViewerCommandBase.OnCanExecuteChanged()FixedDocumentViewerCommandBase.ViewerFixedDocumentViewerCommandBase.CanExecuteChanged

Constructors

CopyCommand(FixedDocumentViewerBase)

Initializes a new instance of the CopyCommand class.

Declaration

cs-api-definition
public CopyCommand(FixedDocumentViewerBase viewer)

Parameters

viewer

FixedDocumentViewerBase

The viewer.

Methods

CanExecuteOverride(object)

Determines whether the command can be executed.

Declaration

cs-api-definition
public override bool CanExecuteOverride(object parameter)

Parameters

parameter

object

The parameter.

Returns

bool

Returns if the command can be executed.

Overrides FixedDocumentViewerCommandBase.CanExecuteOverride(object)

Execute(object)

Executes the command.

Declaration

cs-api-definition
public override void Execute(object parameter)

Parameters

parameter

object

The parameter.

Overrides FixedDocumentViewerCommandBase.Execute(object)