Skip to main content

ShareOptions Class

Definition

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

Options for sharing.

public class ShareOptions

Inheritance: object -> ShareOptions

Constructors

NameDescription
ShareOptionsNo summary available.

ShareOptions Constructor

public ShareOptions()

Properties

NameDescription
AnchorControl the share sheet is anchored to (macOS popover, iPad popover). The viewer fills this in automatically with the toolbar button that opened it.
OwnerTop level that owns the system share sheet. The viewer fills this in automatically.
SubjectSubject line (for email sharing).
TextText to include with the shared file.
TitleTitle for the share dialog.

Anchor Property

Control the share sheet is anchored to (macOS popover, iPad popover). The viewer fills this in automatically with the toolbar button that opened it.

public Avalonia.Visual Anchor { get; set; }

Owner Property

Top level that owns the system share sheet. The viewer fills this in automatically.

public Avalonia.Controls.TopLevel Owner { get; set; }

Subject Property

Subject line (for email sharing).

public string Subject { get; set; }

Text Property

Text to include with the shared file.

public string Text { get; set; }

Title Property

Title for the share dialog.

public string Title { get; set; }