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

Represents a RadTextBoxControlElement keyboard and mouse input handler

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TextBoxInputHandler : ITextBoxInputHandler, IDisposable

Inheritance: objectTextBoxInputHandler

Derived Classes: AutoCompleteBoxInputHandler

Implements: IDisposableITextBoxInputHandler

Constructors

Initializes a new instance of the TextBoxInputHandler class.

C#
public TextBoxInputHandler(RadTextBoxControlElement textBoxElement)
Parameters:textBoxElementRadTextBoxControlElement

The text box element.

Properties

C#
protected RadTextBoxControlElement TextBox { get; }

Methods

C#
protected ~TextBoxInputHandler()
C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

Prcesses the mouse enter.

C#
public virtual void PrcessMouseEnter(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Implements: ITextBoxInputHandler.PrcessMouseEnter(EventArgs)

Processes the context menu.

C#
protected virtual bool ProcessContextMenu(Point location)
Parameters:locationPoint

The location.

Returns:

bool

Processes the copy operation of ITextBlock

C#
protected virtual bool ProcessCopy()
Returns:

bool

Processes the cut.

C#
protected virtual bool ProcessCut()
Returns:

bool

Processes delete of ITextBlock

C#
protected virtual bool ProcessDelete(bool moveNext, bool isControlPressed)
Parameters:moveNextbool

if set to true [move next].

isControlPressedbool

True if Control modifier key is pressed. If set to true - it will delete to the end of the word.

Returns:

bool

Processes delete of ITextBlock

C#
protected virtual bool ProcessDelete(bool moveNext)
Parameters:moveNextbool

if set to true [move next].

Returns:

bool

Processes the double click.

C#
public virtual bool ProcessDoubleClick(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessDoubleClick(EventArgs)

Processes the enter key.

C#
protected virtual bool ProcessEnterKey(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Processes the insert.

C#
protected virtual bool ProcessInsert(string text)
Parameters:textstring

The text.

Returns:

bool

Processes the key down.

C#
public virtual bool ProcessKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessKeyDown(KeyEventArgs)

Processes the key press.

C#
public virtual bool ProcessKeyPress(KeyPressEventArgs e)
Parameters:eKeyPressEventArgs

The KeyPressEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessKeyPress(KeyPressEventArgs)

Processes the key up.

C#
public virtual bool ProcessKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessKeyUp(KeyEventArgs)

Processes the list navigation.

C#
protected virtual bool ProcessListNavigation(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Processes the mouse down.

C#
public virtual bool ProcessMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessMouseDown(MouseEventArgs)

Processes the mouse leave.

C#
public virtual void ProcessMouseLeave(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Implements: ITextBoxInputHandler.ProcessMouseLeave(EventArgs)

Processes the mouse move.

C#
public virtual bool ProcessMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessMouseMove(MouseEventArgs)

Processes the mouse selection.

C#
protected virtual bool ProcessMouseSelection(Point location)
Parameters:locationPoint

The location.

Returns:

bool

Processes the mouse up.

C#
public virtual bool ProcessMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessMouseUp(MouseEventArgs)

Processes the mouse wheel.

C#
public virtual bool ProcessMouseWheel(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs instance containing the event data.

Returns:

bool

Implements: ITextBoxInputHandler.ProcessMouseWheel(MouseEventArgs)

Processes the navigation key.

C#
protected virtual bool ProcessNavigationKey(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Processes the page key.

C#
protected virtual bool ProcessPageKey(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Processes the paste operation of text

C#
protected virtual bool ProcessPaste()
Returns:

bool

Processes redo.

C#
protected virtual bool ProcessRedo()
Returns:

bool

Processes the select of all ITextBlock

C#
protected virtual bool ProcessSelectAll()
Returns:

bool

Processes the tab key.

C#
protected virtual bool ProcessTabKey(KeyEventArgs e)
Parameters:eKeyEventArgs

The KeyEventArgs instance containing the event data.

Returns:

bool

Processes undo.

C#
protected virtual bool ProcessUndo()
Returns:

bool

Selects the next or previous control.

C#
protected virtual bool SelectNextControl(bool forward)
Parameters:forwardbool

if set to true [forward].

Returns:

bool

Sets the current cursor position

C#
protected virtual bool SetCurrentCursor(Point location)
Parameters:locationPoint

The location.

Returns:

bool

Determines whether the mouse input should be handled

C#
protected virtual bool ShouldHandleMouseInput(Point mousePosition)
Parameters:mousePositionPoint

The mouse position.

Returns:

bool