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

Represents print pdf document command.

Definition

Namespace:Telerik.Windows.Documents.Commands

Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll

Syntax:

C#
public class PrintPdfDocumentCommand : FixedDocumentViewerCommandBase, ICommand

Inheritance: objectFixedDocumentViewerCommandBasePrintPdfDocumentCommand

Implements: ICommand

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

Constructors

Initializes a new instance of the PrintPdfDocumentCommand class.

C#
public PrintPdfDocumentCommand(FixedDocumentViewerBase fixedDocumentViewerBase)
Parameters:fixedDocumentViewerBaseFixedDocumentViewerBase

The fixed document viewer base.

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)