ITextBoxNavigator
Represent a navigator in RadTextBoxControlElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface ITextBoxNavigator
Derived Classes:
Properties
Gets or sets the caret position.
TextPosition CaretPosition { get; set; }
The caret position.
Gets or sets the selection end.
TextPosition SelectionEnd { get; set; }
The selection end.
Gets the length of the selection.
int SelectionLength { get; }
The length of the selection.
Gets or sets the selection start.
TextPosition SelectionStart { get; set; }
The selection start.
Methods
Gets the next position.
TextPosition GetNextPosition(TextPosition position, bool isControlPressed)
The position.
isControlPressedboolTrue if Control modifier key is pressed.
Returns:Gets the next position.
TextPosition GetNextPosition(TextPosition position)
The position.
Returns:Gets the position from offset.
Gets the position from point.
Gets the previous position.
TextPosition GetPreviousPosition(TextPosition position, bool isControlPressed)
The position.
isControlPressedboolTrue if Control modifier key is pressed.
Returns:Gets the previous position.
TextPosition GetPreviousPosition(TextPosition position)
The position.
Returns:Navigates by specified keys.
bool Navigate(KeyEventArgs keys)
The KeyEventArgs instance containing the event data.
Returns:Restores the saved selection position.
void RestoreSelection()
Resumes the notifications.
void ResumeNotifications()
Saves the current selection position.
void SaveSelection()
Scrolls to caret position.
Selects the specified range.
bool Select(TextPosition start, TextPosition end)
The start.
endTextPositionThe end.
Returns:Suspends the notifications.
void SuspendNotifications()
Events
Occurs when selection is changed.
event SelectionChangedEventHandler SelectionChanged
Occurs when selection is changing.
event SelectionChangingEventHandler SelectionChanging