共用方式為


TextCompositionStartedEventArgs 類別

定義

提供TextBoxRichEditBoxTextCompositionStarted事件的事件資料。

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

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

如需詳細資訊,請參閱 TextBox.TextCompositionStartedRichEditBox.TextCompositionStarted 事件。

屬性

Length

取得使用者以輸入法編輯器撰寫之文字部分的長度, (輸入法) 。

StartIndex

取得使用者以輸入法編輯器 (輸入法) 撰寫之文字的起始位置。

適用於

另請參閱