Data​Package​Operation Data​Package​Operation Data​Package​Operation Enum

Definition

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

public : enum class DataPackageOperationpublic enum DataPackageOperationPublic Enum DataPackageOperation
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

If your app supports the exchange of data through clipboard and drag and drop, you need to specify what type operation the user wants. The available operations are none/no action, copy, move, and link.

Many existing controls, such as the text box control, include support for Clipboard actions. Before implementing your own support for these actions, check to see if they are already supported.

Fields

Copy Copy Copy

Copies the content to the target destination. When implementing clipboard functionality, this corresponds to the "Copy" command.

Creates a link for the data.

Move Move Move

Copies the content to the target destination and deletes the original. When implementing clipboard functionality, this corresponds to the "Cut" command.

None None None

No action. Typically used when the DataPackage object requires delayed rendering.