Skip to main content

PdfToolbarLayoutMode Enum

Definition​

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Controls whether the viewer uses the desktop (top) or touch (bottom-bar) annotation toolbar layout.

public enum PdfToolbarLayoutMode

Inheritance: Enum -> PdfToolbarLayoutMode

Fields​

NameDescription
AutoChoose automatically: touch layout on iOS/Android, or on any platform once the control is too narrow for the desktop toolbar.
DesktopAlways use the desktop (top) layout.
MobileAlways use the touch (bottom-bar) layout.

Auto Field​

Choose automatically: touch layout on iOS/Android, or on any platform once the control is too narrow for the desktop toolbar.

public Avalonia.Controls.PdfToolbarLayoutMode Auto

Desktop Field​

Always use the desktop (top) layout.

public Avalonia.Controls.PdfToolbarLayoutMode Desktop

Mobile Field​

Always use the touch (bottom-bar) layout.

public Avalonia.Controls.PdfToolbarLayoutMode Mobile