TextCompositionStartedEventArgs 类

定义

TextBoxRichEditBox 上的 TextCompositionStarted 事件提供事件数据。

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

注解

有关详细信息,请参阅 TextBox.TextCompositionStartedRichEditBox.TextCompositionStarted 事件。

属性

Length

获取用户使用输入法编辑器 (输入法) 撰写的文本部分的长度。

StartIndex

获取用户使用输入法编辑器 (输入法) 撰写的文本的起始位置。

适用于

另请参阅