Share via


RichEditBoxSelectionChangingEventArgs Class

Definition

Provides event data for the RichEditBox.SelectionChanging event.

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
Inheritance
Object Platform::Object IInspectable RichEditBoxSelectionChangingEventArgs
Attributes

Windows requirements

Requirements Description
Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

An instance of this class is passed as a parameter to the SelectionChanging event handler.

Properties

Name Description
Cancel

Gets or sets a value that indicates whether the selection operation should be canceled.

SelectionLength

Gets the length of the text selection.

SelectionStart

Gets the starting index of the text selection.

Applies to