ShareTextRequest Class

Definition

Represents a request for sharing text with other apps on the device.

public ref class ShareTextRequest : Microsoft::Maui::ApplicationModel::DataTransfer::ShareRequestBase
public class ShareTextRequest : Microsoft.Maui.ApplicationModel.DataTransfer.ShareRequestBase
type ShareTextRequest = class
    inherit ShareRequestBase
Public Class ShareTextRequest
Inherits ShareRequestBase
Inheritance
ShareTextRequest

Constructors

ShareTextRequest()

Initializes a new instance of the ShareTextRequest class.

ShareTextRequest(String)

Initializes a new instance of the ShareTextRequest class with the given text.

ShareTextRequest(String, String)

Initializes a new instance of the ShareTextRequest class with the given text and title.

Properties

PresentationSourceBounds

Gets or sets the source rectangle to display the iOS share user interface from.

(Inherited from ShareRequestBase)
Subject

Gets or sets the subject that is sometimes used for applications such as mail clients.

Text

Gets or sets the main text or message to share.

Title

Gets or sets the title to use on the operating system's share user interface.

(Inherited from ShareRequestBase)
Uri

Gets or sets a valid URI to share.

Applies to