DragStartingEventArgs.AllowedOperations Property
Definition
Gets or sets the allowed data package operations (none, move, copy, and/or link) for the drag and drop operation.
Equivalent WinUI property: Microsoft.UI.Xaml.DragStartingEventArgs.AllowedOperations.
public:
property DataPackageOperation AllowedOperations { DataPackageOperation get(); void set(DataPackageOperation value); };
DataPackageOperation AllowedOperations();
void AllowedOperations(DataPackageOperation value);
public DataPackageOperation AllowedOperations { get; set; }
var dataPackageOperation = dragStartingEventArgs.allowedOperations;
dragStartingEventArgs.allowedOperations = dataPackageOperation;
Public Property AllowedOperations As DataPackageOperation
Property Value
The allowed data operations.
Windows 10 requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
For more info about the allowed data operations, see DataPackageOperation.