Class
TextBoxInputHandler

Represents a RadTextBoxControlElement keyboard and mouse input handler

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class TextBoxInputHandler : ITextBoxInputHandler, IDisposable

Inheritance: objectTextBoxInputHandler

Derived Classes: AutoCompleteBoxInputHandler

Implements: IDisposableITextBoxInputHandler

Constructors

TextBoxInputHandler(RadTextBoxControlElement)

Initializes a new instance of the TextBoxInputHandler class.

Declaration

cs-api-definition
public TextBoxInputHandler(RadTextBoxControlElement textBoxElement)

Parameters

textBoxElement

RadTextBoxControlElement

The text box element.

Properties

TextBox

Declaration

cs-api-definition
protected RadTextBoxControlElement TextBox { get; }

Property Value

RadTextBoxControlElement

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

PrcessMouseEnter(EventArgs)

Prcesses the mouse enter.

Declaration

cs-api-definition
public virtual void PrcessMouseEnter(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Implements ITextBoxInputHandler.PrcessMouseEnter(EventArgs)

ProcessContextMenu(Point)

Processes the context menu.

Declaration

cs-api-definition
protected virtual bool ProcessContextMenu(Point location)

Parameters

location

Point

The location.

Returns

bool

ProcessCopy()

Processes the copy operation of ITextBlock

Declaration

cs-api-definition
protected virtual bool ProcessCopy()

Returns

bool

ProcessCut()

Processes the cut.

Declaration

cs-api-definition
protected virtual bool ProcessCut()

Returns

bool

ProcessDelete(bool)

Processes delete of ITextBlock

Declaration

cs-api-definition
protected virtual bool ProcessDelete(bool moveNext)

Parameters

moveNext

bool

if set to true [move next].

Returns

bool

ProcessDelete(bool, bool)

Processes delete of ITextBlock

Declaration

cs-api-definition
protected virtual bool ProcessDelete(bool moveNext, bool isControlPressed)

Parameters

moveNext

bool

if set to true [move next].

isControlPressed

bool

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

Returns

bool

ProcessDoubleClick(EventArgs)

Processes the double click.

Declaration

cs-api-definition
public virtual bool ProcessDoubleClick(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessDoubleClick(EventArgs)

ProcessEnterKey(KeyEventArgs)

Processes the enter key.

Declaration

cs-api-definition
protected virtual bool ProcessEnterKey(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

ProcessInsert(string)

Processes the insert.

Declaration

cs-api-definition
protected virtual bool ProcessInsert(string text)

Parameters

text

string

The text.

Returns

bool

ProcessKeyDown(KeyEventArgs)

Processes the key down.

Declaration

cs-api-definition
public virtual bool ProcessKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessKeyDown(KeyEventArgs)

ProcessKeyPress(KeyPressEventArgs)

Processes the key press.

Declaration

cs-api-definition
public virtual bool ProcessKeyPress(KeyPressEventArgs e)

Parameters

e

KeyPressEventArgs

The KeyPressEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessKeyPress(KeyPressEventArgs)

ProcessKeyUp(KeyEventArgs)

Processes the key up.

Declaration

cs-api-definition
public virtual bool ProcessKeyUp(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessKeyUp(KeyEventArgs)

ProcessListNavigation(KeyEventArgs)

Processes the list navigation.

Declaration

cs-api-definition
protected virtual bool ProcessListNavigation(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

ProcessMouseDown(MouseEventArgs)

Processes the mouse down.

Declaration

cs-api-definition
public virtual bool ProcessMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessMouseDown(MouseEventArgs)

ProcessMouseLeave(EventArgs)

Processes the mouse leave.

Declaration

cs-api-definition
public virtual void ProcessMouseLeave(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Implements ITextBoxInputHandler.ProcessMouseLeave(EventArgs)

ProcessMouseMove(MouseEventArgs)

Processes the mouse move.

Declaration

cs-api-definition
public virtual bool ProcessMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessMouseMove(MouseEventArgs)

ProcessMouseSelection(Point)

Processes the mouse selection.

Declaration

cs-api-definition
protected virtual bool ProcessMouseSelection(Point location)

Parameters

location

Point

The location.

Returns

bool

ProcessMouseUp(MouseEventArgs)

Processes the mouse up.

Declaration

cs-api-definition
public virtual bool ProcessMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessMouseUp(MouseEventArgs)

ProcessMouseWheel(MouseEventArgs)

Processes the mouse wheel.

Declaration

cs-api-definition
public virtual bool ProcessMouseWheel(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Returns

bool

Implements ITextBoxInputHandler.ProcessMouseWheel(MouseEventArgs)

ProcessNavigationKey(KeyEventArgs)

Processes the navigation key.

Declaration

cs-api-definition
protected virtual bool ProcessNavigationKey(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

ProcessPageKey(KeyEventArgs)

Processes the page key.

Declaration

cs-api-definition
protected virtual bool ProcessPageKey(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

ProcessPaste()

Processes the paste operation of text

Declaration

cs-api-definition
protected virtual bool ProcessPaste()

Returns

bool

ProcessRedo()

Processes redo.

Declaration

cs-api-definition
protected virtual bool ProcessRedo()

Returns

bool

ProcessSelectAll()

Processes the select of all ITextBlock

Declaration

cs-api-definition
protected virtual bool ProcessSelectAll()

Returns

bool

ProcessTabKey(KeyEventArgs)

Processes the tab key.

Declaration

cs-api-definition
protected virtual bool ProcessTabKey(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Returns

bool

ProcessUndo()

Processes undo.

Declaration

cs-api-definition
protected virtual bool ProcessUndo()

Returns

bool

SelectNextControl(bool)

Selects the next or previous control.

Declaration

cs-api-definition
protected virtual bool SelectNextControl(bool forward)

Parameters

forward

bool

if set to true [forward].

Returns

bool

SetCurrentCursor(Point)

Sets the current cursor position

Declaration

cs-api-definition
protected virtual bool SetCurrentCursor(Point location)

Parameters

location

Point

The location.

Returns

bool

ShouldHandleMouseInput(Point)

Determines whether the mouse input should be handled

Declaration

cs-api-definition
protected virtual bool ShouldHandleMouseInput(Point mousePosition)

Parameters

mousePosition

Point

The mouse position.

Returns

bool

~TextBoxInputHandler()

Declaration

cs-api-definition
protected ~TextBoxInputHandler()