Keyoti RapidSpell Desktop .NET API Docs
TextBoxUtilityAdapter Class
APIKeyoti.RapidSpellTextBoxUtilityAdapter
Keyoti RapidSpell Desktop .NET
Handles painting on AYTTextBox and AYTRichTextbox
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public class TextBoxUtilityAdapter
public class TextBoxUtilityAdapter
Public Class TextBoxUtilityAdapter
Public Class TextBoxUtilityAdapter
public ref class TextBoxUtilityAdapter
public ref class TextBoxUtilityAdapter
type TextBoxUtilityAdapter =  class end
type TextBoxUtilityAdapter =  class end
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
TextBoxUtilityAdapter()()()()
New instance

TextBoxUtilityAdapter(IAYTTextBox)
Construct a new utility adapter

TextBoxUtilityAdapter(IAYTTextBox, Boolean)
Construct a new utility adapter

AfterRemoveUnderline
Fired after a word is de-underlined

AfterUnderline
Fired after a word is underlined

BackgroundBMP
Used internally.

BeforeRemoveUnderline
Fired before a word is de-underlined

BeforeUnderline
Fired before a word is underlined

bmp
Bitmap of underlines

currentText
Register of text currently in the text box, updated when it changes.

DoUpdates(String)
Updates underlines for change in text.

doUpdatesMovedUnderlines
Internal

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
FullPaint(Boolean)
Causes all underlines to be repainted.

getFirstVisibleUnderline()()()()
Calculates the first visible underline, if necessary

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HideUnderline(Int32, Int32)
Hides an underline

IdentifyChange()()()()
Returns the start and end indices in the current text of the changed text.

IsFinished
Whether this object is no longer being used.

isPositionInUnderline(Int32)
Whether index is inside a visible underline

KeyDown
User has keyed up.

KeyPress
User has pressed a key.

KeyUp
User has keyed up.

Leave
Focus lost.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MenuMouseButton
The mouse button that is used to trigger the context menu.

MouseReleased
User has mouse released.

oldText
The text contained before text changed

OnAfterRemoveUnderline(UnderlineEventArgs)
Raises event

OnAfterUnderline(UnderlineEventArgs)
Raises event

OnBeforeRemoveUnderline(UnderlineEventArgs)
Raises event

OnBeforeUnderline(UnderlineEventArgs)
Raises event

OnKeyDown(Object, KeyEventArgs)
Called when KeyDown occurs.

OnKeyUp(Object, KeyEventArgs)
Called when KeyUp occurs.

OnLeave(Object, EventArgs)
Called when user leave the text box

OnMousePressed(Object, MouseEventArgs)
Mouse handler

OnMouseReleased(Object, MouseEventArgs)
Called when MouseReleased occurs.

OnTextBoxDisposed(Object, EventArgs)
Called when text box is disposed.

OnTextBoxInvalidated(Object, InvalidateEventArgs)
Called when text box is invalidated

OnTextChanged(Object, EventArgs)
Called when the text box's text is changed

paint()()()()
Paint onto the textbox

paintUnderline(Graphics, Point, Point, UnderlineStyle, Pen)
Paints an underline

prePaint()()()()
Prepaints the underlines onto a buffer bitmap

Refresh()()()()
Refreshes the display.

RemoveAllUnderlines()()()()
Remove all underlines.

RemoveUnderline(Int32, Int32, UnderlineStyle, Color)
Remove underline text, from start index to end index.

RepaintTimer
The number of milliseconds that must pass since the last user input before repainting. This has a resolution of 250 milliseconds.

RequestingContextMenu
Context menu request

textBox
The text box being painted.

textBoxCanvas
The textbox graphics context on which painting is performed

TextChanged
Text Changed.

timeSinceRepaintCall
When repaint timer is active, this is how long since the timer expired.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Underline(Int32, Int32, UnderlineStyle, Color, BadWord)
Underline text, from start index to end index.

underlines
The underlines being tracked.

underlinesArePainted
Whether underlines have been painted

UnhideUnderline(Int32, Int32)
Unhides an underline

Remarks
This class can be derived from for custom painting of other text boxes.
Inheritance Hierarchy
Object
TextBoxUtilityAdapter

Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412