Class SelectionRange
Represents the SelectionRange class.
Inheritance
System.Object
SelectionRange
Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public class SelectionRange : Object
Constructors
SelectionRange(SfRichTextBoxAdv)
Initializes a new instance of the SelectionRange class for the specified SfRichTextBoxAdv.
Declaration
public SelectionRange(SfRichTextBoxAdv richTextBoxAdv)
Parameters
Type | Name | Description |
---|---|---|
SfRichTextBoxAdv | richTextBoxAdv | The SfRichTextBoxAdv instance to which the SelectionRange is associated. |
Properties
End
Gets the end TextPosition of the SelectionRange.
Declaration
public TextPosition End { get; }
Property Value
Type | Description |
---|---|
TextPosition | The end TextPosition of the SelectionRange. |
IsEmpty
Gets a value indicating whether the Start
and End
of the SelectionRange denotes the same TextPosition.
Declaration
public bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Returns True, if the |
Start
Gets the start TextPosition of the SelectionRange.
Declaration
public TextPosition Start { get; }
Property Value
Type | Description |
---|---|
TextPosition | The end TextPosition of the SelectionRange. |