TextControlCopyingToClipboardEventArgs 类

定义

CopyingToClipboard 事件提供事件数据。

public ref class TextControlCopyingToClipboardEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TextControlCopyingToClipboardEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TextControlCopyingToClipboardEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TextControlCopyingToClipboardEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TextControlCopyingToClipboardEventArgs
Public NotInheritable Class TextControlCopyingToClipboardEventArgs
继承
Object Platform::Object IInspectable TextControlCopyingToClipboardEventArgs
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

注解

如果在 Handler 中对 CopyingToClipboard 事件执行任何操作,请将 Handled 属性设置为 true;否则,将执行默认复制操作。

属性

Handled

获取或设置一个值,该值将路由事件标记为已处理。 Handled 的 true 值可防止事件路由中的大多数处理程序再次处理同一事件。

适用于

另请参阅