Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.49 KB

dragstartingeventargs_allowedoperations.md

File metadata and controls

30 lines (18 loc) · 1.49 KB
-api-id -api-type
P:Windows.UI.Xaml.DragStartingEventArgs.AllowedOperations
winrt property

Windows.UI.Xaml.DragStartingEventArgs.AllowedOperations

-description

Gets or sets a value that specifies which operations (none, move, copy, and/or link) are allowed by the source of the drag event.

-property-value

A value or bitwise combination of values that specifies which operations are allowed by the source of the drag event.

-remarks

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.

-examples

-see-also

Drag-and-drop overview, DragEventArgs.AllowedOperations, CoreDragOperation.AllowedOperations