DragItemsStartingEventArgs
DragItemsStartingEventArgs
DragItemsStartingEventArgs
DragItemsStartingEventArgs
Class
Definition
Provides event data for the DragItemsStarting event.
public : sealed class DragItemsStartingEventArgs : IDragItemsStartingEventArgspublic sealed class DragItemsStartingEventArgs : IDragItemsStartingEventArgsPublic NotInheritable Class DragItemsStartingEventArgs Implements IDragItemsStartingEventArgs// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Constructors
DragItemsStartingEventArgs() DragItemsStartingEventArgs() DragItemsStartingEventArgs() DragItemsStartingEventArgs()
Initializes a new instance of the DragItemsStartingEventArgs class.
public : DragItemsStartingEventArgs()public DragItemsStartingEventArgs()Public Sub New()// This API is not available in Javascript.
Properties
Cancel Cancel Cancel Cancel
Gets or sets a value that indicates whether the item drag action should be canceled.
public : PlatForm::Boolean Cancel { get; set; }public bool Cancel { get; set; }Public ReadWrite Property Cancel As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
True to cancel the item drag action; otherwise, false.
Remarks
Set this property to true in a handler in order to cancel an items drag action.
Data Data Data Data
Gets the data payload associated with an items drag action.
public : DataPackage Data { get; }public DataPackage Data { get; }Public ReadOnly Property Data As DataPackage// This API is not available in Javascript.
The data payload.
Remarks
By default the data is empty. When you perform custom actions as the result of a drag-and-drop operation, you typically provide custom data that can later be inspected and used to perform the custom action.
Items Items Items Items
Gets the loosely typed collection of objects that are selected for the item drag action.
public : IVector<object> Items { get; }public IList<object> Items { get; }Public ReadOnly Property Items As IList<object>// This API is not available in Javascript.
- Value
- IVector<PlatForm::Object> IList<object> IList<object> IList<object>
A loosely typed collection of objects.