Package Operation Enum
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class DataPackageOperation
/// [System.Flags] /// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] enum DataPackageOperation
[System.Flags] [Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] public enum DataPackageOperation
var value = Windows.ApplicationModel.DataTransfer.DataPackageOperation.none
Public Enum DataPackageOperation
Windows 10 requirements
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
Copies the content to the target destination. When implementing clipboard functionality, this corresponds to the "Copy" command.
Creates a link for the data.
Copies the content to the target destination and deletes the original. When implementing clipboard functionality, this corresponds to the "Cut" command.
No action. Typically used when the DataPackage object requires delayed rendering.
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.