DragItemsStartingEventArgs 类

定义

DragItemsStarting 事件提供事件数据。

public ref class DragItemsStartingEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DragItemsStartingEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DragItemsStartingEventArgs
Public NotInheritable Class DragItemsStartingEventArgs
继承
Object Platform::Object IInspectable DragItemsStartingEventArgs
属性

构造函数

DragItemsStartingEventArgs()

初始化 DragItemsStartingEventArgs 类的新实例。

属性

Cancel

获取或设置一个值,该值指示是否应取消项拖动操作。

Data

获取与项拖动操作关联的数据有效负载。

Items

获取为项拖动操作选择的 对象的松散类型集合。

适用于

另请参阅