New to Telerik UI for WPFStart a free 30-day trial

Represents select all command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
public class SelectAllCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseSelectAllCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the SelectAllCommand class.

C#
public SelectAllCommand(FixedDocumentViewerBase viewer)
Parameters:viewerFixedDocumentViewerBase

The viewer.

Methods

Determines whether the command can be executed.

C#
public override bool CanExecuteOverride(object parameter)
Parameters:parameterobject

The parameter.

Returns:

bool

Returns if the command can be executed.

Overrides: FixedDocumentViewerCommandBase.CanExecuteOverride(object)

Defines the method to be called when the command is invoked.

C#
public override void Execute(object parameter)
Parameters:parameterobject

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Overrides: FixedDocumentViewerCommandBase.Execute(object)