RichEditBoxSelectionChangingEventArgs 类

定义

提供 RichEditBox.SelectionChanging 事件的事件数据。

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

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

注解

此类的实例作为参数传递给 SelectionChanging 事件处理程序。

属性

Cancel

获取或设置一个值,该值指示是否应取消选择操作。

SelectionLength

获取所选文本的长度。

SelectionStart

获取文本选择的起始索引。

适用于