共用方式為


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 引進)

備註

如果您在 CopyingToClipboard 事件的處理常式中執行任何動作,請將 Handled 屬性設定為 true;否則,會執行預設複製動作。

屬性

Handled

取得或設定值,這個值會將路由事件標示為已處理。 Handled 的 true 值可防止事件路由中的大部分處理常式再次處理相同的事件。

適用於

另請參閱