CoreTextChangedEventArgs 类

定义

提供 TextChanged 事件的数据。

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

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Phone.PhoneInternalContract (在 v1.0 中引入)

属性

NewText

从输入缓冲区获取文本更改后的新字符。

OldLength

获取从更改文本的开头到更改文本末尾的旧文本中的字符数。

Start

获取输入缓冲区中文本中更改的起始位置。

适用于