Windows.ApplicationModel.DataTransfer Windows.ApplicationModel.DataTransfer Windows.ApplicationModel.DataTransfer Windows.ApplicationModel.DataTransfer Windows.ApplicationModel.DataTransfer Namespace

Contains classes that are used to exchange data between a source app and a target app. These classes are used in share and clipboard operations.


Clipboard Clipboard Clipboard Clipboard Clipboard

Gets and sets information from the clipboard object.

ClipboardContentOptions ClipboardContentOptions ClipboardContentOptions ClipboardContentOptions ClipboardContentOptions

Specifies options for using the SetContentWithOptions method to set content in the clipboard.

ClipboardHistoryChangedEventArgs ClipboardHistoryChangedEventArgs ClipboardHistoryChangedEventArgs ClipboardHistoryChangedEventArgs ClipboardHistoryChangedEventArgs

Provides data for the HistoryEnabledChanged event.

ClipboardHistoryItem ClipboardHistoryItem ClipboardHistoryItem ClipboardHistoryItem ClipboardHistoryItem

Represents an item in the clipboard history.

ClipboardHistoryItemsResult ClipboardHistoryItemsResult ClipboardHistoryItemsResult ClipboardHistoryItemsResult ClipboardHistoryItemsResult

Provides response data for using the GetHistoryItemsAsync method to get the list of items currently in the clipboard history.

DataPackage DataPackage DataPackage DataPackage DataPackage

Contains the data that a user wants to exchange with another app.

DataPackagePropertySet DataPackagePropertySet DataPackagePropertySet DataPackagePropertySet DataPackagePropertySet

Defines a set of properties to use with a DataPackage object.

DataPackagePropertySetView DataPackagePropertySetView DataPackagePropertySetView DataPackagePropertySetView DataPackagePropertySetView

Gets the set of properties of a DataPackageView object.

DataPackageView DataPackageView DataPackageView DataPackageView DataPackageView

A read-only version of a DataPackage. Apps that receive shared content get this object when acquiring content.

DataProviderDeferral DataProviderDeferral DataProviderDeferral DataProviderDeferral DataProviderDeferral

Used by a source app's deferral delegate to notify a DataPackage object that the source app will produce data from another asynchronous function.

DataProviderRequest DataProviderRequest DataProviderRequest DataProviderRequest DataProviderRequest

An object of this type is passed to the DataProviderHandler delegate.

DataRequest DataRequest DataRequest DataRequest DataRequest

Lets your app supply the content the user wants to share or specify a message, if an error occurs.

DataRequestDeferral DataRequestDeferral DataRequestDeferral DataRequestDeferral DataRequestDeferral

Enables you to exchange content with a target app asynchronously.

DataRequestedEventArgs DataRequestedEventArgs DataRequestedEventArgs DataRequestedEventArgs DataRequestedEventArgs

Contains information about the DataRequested event. The system fires this event when the user invokes the Share UI.

DataTransferManager DataTransferManager DataTransferManager DataTransferManager DataTransferManager

Programmatically initiates an exchange of content with other apps.

HtmlFormatHelper HtmlFormatHelper HtmlFormatHelper HtmlFormatHelper HtmlFormatHelper

Responsible for formatting HTML content that you want to share or add to the Clipboard. Also allows you to get HTML fragments from the content.

OperationCompletedEventArgs OperationCompletedEventArgs OperationCompletedEventArgs OperationCompletedEventArgs OperationCompletedEventArgs

Contains info about the action that a target app completed during a paste operation.

ShareCompletedEventArgs ShareCompletedEventArgs ShareCompletedEventArgs ShareCompletedEventArgs ShareCompletedEventArgs

This class contains the event args for ShareCompleted.

SharedStorageAccessManager SharedStorageAccessManager SharedStorageAccessManager SharedStorageAccessManager SharedStorageAccessManager

Enables an app to share a file with another app by passing a token via Uri activation, app service, REST API, etc. The target app redeems the token to get the file shared by the source app.

ShareProvider ShareProvider ShareProvider ShareProvider ShareProvider

This class represents a custom provider which can be shared.

ShareProviderOperation ShareProviderOperation ShareProviderOperation ShareProviderOperation ShareProviderOperation

This class represents a share provider operation.

ShareProvidersRequestedEventArgs ShareProvidersRequestedEventArgs ShareProvidersRequestedEventArgs ShareProvidersRequestedEventArgs ShareProvidersRequestedEventArgs

The event args of ShareProvidersRequested.

ShareTargetInfo ShareTargetInfo ShareTargetInfo ShareTargetInfo ShareTargetInfo

This class contains information about a share target.

ShareUIOptions ShareUIOptions ShareUIOptions ShareUIOptions ShareUIOptions

This class represents the options that are available to the user when showing the ShareUI.

StandardDataFormats StandardDataFormats StandardDataFormats StandardDataFormats StandardDataFormats

Contains static properties that return string values. Each string corresponds to a known format ID. Use this class to avoid errors in using string constants to specify data formats.

TargetApplicationChosenEventArgs TargetApplicationChosenEventArgs TargetApplicationChosenEventArgs TargetApplicationChosenEventArgs TargetApplicationChosenEventArgs

Contains information about the target app the user chose to share content with. To get this object, you must handle the TargetApplicationChosen event.


ClipboardHistoryItemsResultStatus ClipboardHistoryItemsResultStatus ClipboardHistoryItemsResultStatus ClipboardHistoryItemsResultStatus ClipboardHistoryItemsResultStatus

Represents the return status of a call to the GetHistoryItemsAsync method to get the list of items currently in the clipboard history.

DataPackageOperation DataPackageOperation DataPackageOperation DataPackageOperation DataPackageOperation

Specifies the operation to perform on the DataPackage in clipboard and drag and drop scenarios.

SetHistoryItemAsContentStatus SetHistoryItemAsContentStatus SetHistoryItemAsContentStatus SetHistoryItemAsContentStatus SetHistoryItemAsContentStatus

Represents the return status of a call to the SetHistoryItemAsContent method to set an item in the clipboard history as the current content for the clipboard.

ShareUITheme ShareUITheme ShareUITheme ShareUITheme ShareUITheme

The theme for the Share UI.


DataProviderHandler DataProviderHandler DataProviderHandler DataProviderHandler DataProviderHandler

Provides data when the target app requests it, instead of including the data in the DataPackage ahead of time. [ DataProviderHandler is used when the source app wants to avoid unnecessary work that is resource intensive, such as performing format conversions.

ShareProviderHandler ShareProviderHandler ShareProviderHandler ShareProviderHandler ShareProviderHandler

A delegate that handles share providers.

See also