TextControlCuttingToClipboardEventArgs 类

定义

CuttingToClipboard 事件提供事件数据。

public ref class TextControlCuttingToClipboardEventArgs 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 TextControlCuttingToClipboardEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TextControlCuttingToClipboardEventArgs 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 TextControlCuttingToClipboardEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TextControlCuttingToClipboardEventArgs
Public NotInheritable Class TextControlCuttingToClipboardEventArgs
继承
Object Platform::Object IInspectable TextControlCuttingToClipboardEventArgs
属性

Windows 要求

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

注解

如果在处理程序中对 CuttingToClipboard 事件执行任何操作,请将 Handled 属性设置为 true;否则,将执行默认剪切操作。

属性

Handled

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

适用于

另请参阅