Share via


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, String)

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

ShareTextRequest(String)

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

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