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

Represents validate signatures command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
public class ValidateSignaturesCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBaseValidateSignaturesCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the ValidateSignaturesCommand class.

C#
public ValidateSignaturesCommand(FixedDocumentViewerBase viewer)
Parameters:viewerFixedDocumentViewerBase

The viewer.

Properties

Result

IEnumerable<SignatureValidationResult>

Gets the validation result.

C#
public IEnumerable<SignatureValidationResult> Result { get; }
Property Value:

The validation result.

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)