Class TextBoxInputHandler
Represents a RadTextBoxControlElement keyboard and mouse input handler
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class TextBoxInputHandler : ITextBoxInputHandler, IDisposable
Constructors
TextBoxInputHandler(RadTextBoxControlElement)
Initializes a new instance of the TextBoxInputHandler class.
Declaration
public TextBoxInputHandler(RadTextBoxControlElement textBoxElement)
Parameters
RadTextBoxControlElement
textBoxElement
The text box element. |
Properties
TextBox
Declaration
protected RadTextBoxControlElement TextBox { get; }
Property Value
RadTextBoxControlElement
|
Methods
Dispose()
Declaration
public void Dispose()
Implements
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Finalize()
Declaration
protected void Finalize()
PrcessMouseEnter(EventArgs)
Prcesses the mouse enter.
Declaration
public virtual void PrcessMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Implements
ProcessContextMenu(Point)
Processes the context menu.
Declaration
protected virtual bool ProcessContextMenu(Point location)
Parameters
System.Drawing.Point
location
The location. |
Returns
System.Boolean
|
ProcessCopy()
Processes the copy operation of ITextBlock
Declaration
protected virtual bool ProcessCopy()
Returns
System.Boolean
|
ProcessCut()
Processes the cut.
Declaration
protected virtual bool ProcessCut()
Returns
System.Boolean
|
ProcessDelete(Boolean)
Processes delete of ITextBlock
Declaration
protected virtual bool ProcessDelete(bool moveNext)
Parameters
System.Boolean
moveNext
if set to |
Returns
System.Boolean
|
ProcessDelete(Boolean, Boolean)
Processes delete of ITextBlock
Declaration
protected virtual bool ProcessDelete(bool moveNext, bool isControlPressed)
Parameters
System.Boolean
moveNext
if set to |
System.Boolean
isControlPressed
True if Control modifier key is pressed. If set to true - it will delete to the end of the word. |
Returns
System.Boolean
|
ProcessDoubleClick(EventArgs)
Processes the double click.
Declaration
public virtual bool ProcessDoubleClick(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessEnterKey(KeyEventArgs)
Processes the enter key.
Declaration
protected virtual bool ProcessEnterKey(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Returns
System.Boolean
|
ProcessInsert(String)
Processes the insert.
Declaration
protected virtual bool ProcessInsert(string text)
Parameters
System.String
text
The text. |
Returns
System.Boolean
|
ProcessKeyDown(KeyEventArgs)
Processes the key down.
Declaration
public virtual bool ProcessKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessKeyPress(KeyPressEventArgs)
Processes the key press.
Declaration
public virtual bool ProcessKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
The System.Windows.Forms.KeyPressEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessKeyUp(KeyEventArgs)
Processes the key up.
Declaration
public virtual bool ProcessKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessListNavigation(KeyEventArgs)
ProcessMouseDown(MouseEventArgs)
Processes the mouse down.
Declaration
public virtual bool ProcessMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessMouseLeave(EventArgs)
Processes the mouse leave.
Declaration
public virtual void ProcessMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
The System.EventArgs instance containing the event data. |
Implements
ProcessMouseMove(MouseEventArgs)
Processes the mouse move.
Declaration
public virtual bool ProcessMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessMouseSelection(Point)
Processes the mouse selection.
Declaration
protected virtual bool ProcessMouseSelection(Point location)
Parameters
System.Drawing.Point
location
The location. |
Returns
System.Boolean
|
ProcessMouseUp(MouseEventArgs)
Processes the mouse up.
Declaration
public virtual bool ProcessMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessMouseWheel(MouseEventArgs)
Processes the mouse wheel.
Declaration
public virtual bool ProcessMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Returns
System.Boolean
|
Implements
ProcessNavigationKey(KeyEventArgs)
ProcessPageKey(KeyEventArgs)
Processes the page key.
Declaration
protected virtual bool ProcessPageKey(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Returns
System.Boolean
|
ProcessPaste()
Processes the paste operation of text
Declaration
protected virtual bool ProcessPaste()
Returns
System.Boolean
|
ProcessRedo()
Processes redo.
Declaration
protected virtual bool ProcessRedo()
Returns
System.Boolean
|
ProcessSelectAll()
Processes the select of all ITextBlock
Declaration
protected virtual bool ProcessSelectAll()
Returns
System.Boolean
|
ProcessTabKey(KeyEventArgs)
Processes the tab key.
Declaration
protected virtual bool ProcessTabKey(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
The System.Windows.Forms.KeyEventArgs instance containing the event data. |
Returns
System.Boolean
|
ProcessUndo()
Processes undo.
Declaration
protected virtual bool ProcessUndo()
Returns
System.Boolean
|
SelectNextControl(Boolean)
Selects the next or previous control.
Declaration
protected virtual bool SelectNextControl(bool forward)
Parameters
System.Boolean
forward
if set to |
Returns
System.Boolean
|
SetCurrentCursor(Point)
Sets the current cursor position
Declaration
protected virtual bool SetCurrentCursor(Point location)
Parameters
System.Drawing.Point
location
The location. |
Returns
System.Boolean
|
ShouldHandleMouseInput(Point)
Determines whether the mouse input should be handled
Declaration
protected virtual bool ShouldHandleMouseInput(Point mousePosition)
Parameters
System.Drawing.Point
mousePosition
The mouse position. |
Returns
System.Boolean
|