New to Telerik UI for .NET MAUIStart a free 30-day trial

Command implementation used to toggle between ContinuousScroll and SinglePage layout mode.

Definition

Constructors

C#
public PdfViewerToggleLayoutModeCommand()

Methods

Defines the method that determines whether the command can execute in its current state.

C#
public override bool CanExecute(object parameter)
Parameters:parameterobjectReturns:

bool

Overrides: PdfViewerCommand.CanExecute(object)

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

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

Overrides: PdfViewerCommand.Execute(object)