New to Telerik UI for WinFormsStart a free 30-day trial

Represent a navigator in RadAutoCompleteBoxElement

Definition

Constructors

Initializes a new instance of the AutoCompleteTextNavigator class.

C#
public AutoCompleteTextNavigator(RadAutoCompleteBoxElement owner)
Parameters:ownerRadAutoCompleteBoxElement

The owner.

Methods

Gets the editable position.

C#
protected virtual TextPosition GetEditablePosition(TextPosition position, bool next)
Parameters:positionTextPosition

The position.

nextbool

if set to true [next].

Returns:

TextPosition

C#
public TextPosition GetNextEditablePosition(TextPosition position)
Parameters:positionTextPositionReturns:

TextPosition

Gets the next position.

C#
public override TextPosition GetNextPosition(TextPosition position, bool isControlPressed)
Parameters:positionTextPosition

The position.

isControlPressedbool

True if Control modifier key is pressed.

Returns:

TextPosition

Overrides: TextBoxNavigator.GetNextPosition(TextPosition, bool)

Gets the next position.

C#
public override TextPosition GetNextPosition(TextPosition position)
Parameters:positionTextPosition

The position.

Returns:

TextPosition

Overrides: TextBoxNavigator.GetNextPosition(TextPosition)

Gets the position from offset.

C#
public override TextPosition GetPositionFromOffset(int offset)
Parameters:offsetint

The offset.

Returns:

TextPosition

Overrides: TextBoxNavigator.GetPositionFromOffset(int)

Gets the position from point.

C#
public override TextPosition GetPositionFromPoint(PointF point)
Parameters:pointPointF

The point.

Returns:

TextPosition

Overrides: TextBoxNavigator.GetPositionFromPoint(PointF)

C#
public TextPosition GetPreviousEditablePosition(TextPosition position)
Parameters:positionTextPositionReturns:

TextPosition

Gets the previous position.

C#
public override TextPosition GetPreviousPosition(TextPosition position, bool isControlPressed)
Parameters:positionTextPosition

The position.

isControlPressedbool

True if Control modifier key is pressed.

Returns:

TextPosition

Overrides: TextBoxNavigator.GetPreviousPosition(TextPosition, bool)

Gets the previous position.

C#
public override TextPosition GetPreviousPosition(TextPosition position)
Parameters:positionTextPosition

The position.

Returns:

TextPosition

Overrides: TextBoxNavigator.GetPreviousPosition(TextPosition)