Class RichTextSelectionChangedEventArgs
- Namespace
- RichEdit.Maui
- Assembly
- RichEdit.Maui.dll
Provides data for SelectionChanged.
public sealed class RichTextSelectionChangedEventArgs : EventArgs
- Inheritance
-
RichTextSelectionChangedEventArgs
- Inherited Members
Constructors
RichTextSelectionChangedEventArgs(TextSelectionState, TextSelectionState)
Creates directional selection-change data.
public RichTextSelectionChangedEventArgs(TextSelectionState oldSelection, TextSelectionState newSelection)
Parameters
oldSelectionTextSelectionStateThe preceding selection.
newSelectionTextSelectionStateThe current selection.
RichTextSelectionChangedEventArgs(TextSpan, TextSpan)
Initializes selection-change event data.
public RichTextSelectionChangedEventArgs(TextSpan oldRange, TextSpan newRange)
Parameters
Properties
NewRange
Gets the current selection range.
public TextSpan NewRange { get; }
Property Value
NewSelection
Gets the current directional selection.
public TextSelectionState NewSelection { get; }
Property Value
OldRange
Gets the preceding selection range.
public TextSpan OldRange { get; }
Property Value
OldSelection
Gets the preceding directional selection.
public TextSelectionState OldSelection { get; }