-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.DragStartingEventArgs.AllowedOperations |
winrt property |
Gets or sets a value that specifies which operations (none, move, copy, and/or link) are allowed by the source of the drag event.
A value or bitwise combination of values that specifies which operations are allowed by the source of the drag event.
This value is set in the UIElement.DragStarting event handler. It can then be read from the DragEventArgs.AllowedOperations property in the DragEnter and DragOver events of the UIElement
that is a potential drop target of the drag and drop operation. It notifies the target which data package operations (none, move, copy, and/or link) are allowed by the source.
For more info about the allowed data operations, see the DataPackageOperation enumeration.
Drag-and-drop overview, DragEventArgs.AllowedOperations, CoreDragOperation.AllowedOperations