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

Represents find command.

Definition

Constructors

Initializes a new instance of the FindCommand class.

C#
public FindCommand(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)

Executes the command.

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

The parameter.

Overrides: FixedDocumentViewerCommandBase.Execute(object)