Class KeyboardSelectionHandler
This class handles the selection from the keyboard.
Inheritance
System.Object
KeyboardSelectionHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Selection
Assembly: Telerik.Windows.Documents.dll
Syntax
public class KeyboardSelectionHandler
Constructors
KeyboardSelectionHandler(RadDocument)
Initializes a new instance of the KeyboardSelectionHandler class.
Declaration
public KeyboardSelectionHandler(RadDocument document)
Parameters
RadDocument
document
The current document. |
Properties
Document
Gets the current document.
Declaration
protected RadDocument Document { get; }
Property Value
RadDocument
|
LastCaretPosition
Gets the caret position when starting the selection.
Declaration
protected DocumentPosition LastCaretPosition { get; }
Property Value
DocumentPosition
|
Methods
ExpandDownLeft(DocumentPosition)
Declaration
public virtual DocumentPosition ExpandDownLeft(DocumentPosition currentPosition)
Parameters
DocumentPosition
currentPosition
|
Returns
DocumentPosition
|
ExpandTopRight(DocumentPosition)
Declaration
public virtual DocumentPosition ExpandTopRight(DocumentPosition currentPosition)
Parameters
DocumentPosition
currentPosition
|
Returns
DocumentPosition
|