RichEditBoxSelectionChangingEventArgs 类

定义

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

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

注解

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

属性

Cancel

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

SelectionLength

获取文本选择的长度。

SelectionStart

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

适用于