Share via


ShareFileRequest Class

Definition

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

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

Constructors

ShareFileRequest()

Initializes a new instance of the ShareFileRequest class.

ShareFileRequest(FileBase)

Initializes a new instance of the ShareFileRequest class with the given file.

ShareFileRequest(ShareFile)

Initializes a new instance of the ShareFileRequest class with the given file.

ShareFileRequest(String, FileBase)

Initializes a new instance of the ShareFileRequest class with the given title and file.

ShareFileRequest(String, ShareFile)

Initializes a new instance of the ShareFileRequest class with the given title and file.

Properties

File

Gets or sets the file to share.

PresentationSourceBounds

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

(Inherited from ShareRequestBase)
Title

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

(Inherited from ShareRequestBase)

Applies to