Interface ITextBoxNavigator
Represent a navigator in RadTextBoxControlElement
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public interface ITextBoxNavigator
  Represent a navigator in RadTextBoxControlElement
public interface ITextBoxNavigator
  Gets or sets the caret position.
TextPosition CaretPosition { get; set; }
  | 
        TextPosition
         The caret position.  | 
    
Gets or sets the selection end.
TextPosition SelectionEnd { get; set; }
  | 
        TextPosition
         The selection end.  | 
    
Gets the length of the selection.
int SelectionLength { get; }
  | 
        System.Int32
         The length of the selection.  | 
    
Gets or sets the selection start.
TextPosition SelectionStart { get; set; }
  | 
        TextPosition
         The selection start.  | 
    
Gets the next position.
TextPosition GetNextPosition(TextPosition position)
  | 
        TextPosition
        position
         The position.  | 
    
| 
        TextPosition
         
  | 
    
Gets the next position.
TextPosition GetNextPosition(TextPosition position, bool isControlPressed)
  | 
        TextPosition
        position
         The position.  | 
    
| 
        System.Boolean
        isControlPressed
         True if Control modifier key is pressed.  | 
    
| 
        TextPosition
         
  | 
    
Gets the position from offset.
TextPosition GetPositionFromOffset(int offset)
  | 
        System.Int32
        offset
         The offset.  | 
    
| 
        TextPosition
         
  | 
    
Gets the position from point.
TextPosition GetPositionFromPoint(PointF point)
  | 
        System.Drawing.PointF
        point
         The point.  | 
    
| 
        TextPosition
         
  | 
    
Gets the previous position.
TextPosition GetPreviousPosition(TextPosition position)
  | 
        TextPosition
        position
         The position.  | 
    
| 
        TextPosition
         
  | 
    
Gets the previous position.
TextPosition GetPreviousPosition(TextPosition position, bool isControlPressed)
  | 
        TextPosition
        position
         The position.  | 
    
| 
        System.Boolean
        isControlPressed
         True if Control modifier key is pressed.  | 
    
| 
        TextPosition
         
  | 
    
Navigates by specified keys.
bool Navigate(KeyEventArgs keys)
  | 
        System.Windows.Forms.KeyEventArgs
        keys
         The System.Windows.Forms.KeyEventArgs instance containing the event data.  | 
    
| 
        System.Boolean
         
  | 
    
Restores the saved selection position.
void RestoreSelection()
  Resumes the notifications.
void ResumeNotifications()
  Saves the current selection position.
void SaveSelection()
  Scrolls to caret position.
bool ScrollToCaret()
  | 
        System.Boolean
         
  | 
    
Selects the specified range.
bool Select(TextPosition start, TextPosition end)
  | 
        TextPosition
        start
         The start.  | 
    
| 
        TextPosition
        end
         The end.  | 
    
| 
        System.Boolean
         
  | 
    
Suspends the notifications.
void SuspendNotifications()
  Occurs when selection is changed.
event SelectionChangedEventHandler SelectionChanged
  | 
        SelectionChangedEventHandler
         
  | 
    
Occurs when selection is changing.
event SelectionChangingEventHandler SelectionChanging
  | 
        SelectionChangingEventHandler
         
  | 
    
                      Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
 All Rights Reserved.
                    
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.