skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextBoxInputHandler

Represents a RadTextBoxControlElement keyboard and mouse input handler

Inheritance
System.Object
TextBoxInputHandler
AutoCompleteBoxInputHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.IDisposable.Dispose()

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
ITextBoxInputHandler.PrcessMouseEnter(EventArgs)

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 true [move next].

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 true [move next].

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
ITextBoxInputHandler.ProcessDoubleClick(EventArgs)

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
ITextBoxInputHandler.ProcessKeyDown(KeyEventArgs)

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
ITextBoxInputHandler.ProcessKeyPress(KeyPressEventArgs)

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
ITextBoxInputHandler.ProcessKeyUp(KeyEventArgs)

ProcessListNavigation(KeyEventArgs)

Processes the list navigation.

Declaration
protected virtual bool ProcessListNavigation(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs e

The System.Windows.Forms.KeyEventArgs instance containing the event data.

Returns
System.Boolean

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
ITextBoxInputHandler.ProcessMouseDown(MouseEventArgs)

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
ITextBoxInputHandler.ProcessMouseLeave(EventArgs)

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
ITextBoxInputHandler.ProcessMouseMove(MouseEventArgs)

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
ITextBoxInputHandler.ProcessMouseUp(MouseEventArgs)

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
ITextBoxInputHandler.ProcessMouseWheel(MouseEventArgs)

ProcessNavigationKey(KeyEventArgs)

Processes the navigation key.

Declaration
protected virtual bool ProcessNavigationKey(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs e

The System.Windows.Forms.KeyEventArgs instance containing the event data.

Returns
System.Boolean

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 true [forward].

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

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

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.