Handles painting on AYTTextBox and AYTRichTextbox
| C# | Visual Basic | Visual C++ | F# |
public class TextBoxUtilityAdapter
Public Class TextBoxUtilityAdapter
public ref class TextBoxUtilityAdapter
type TextBoxUtilityAdapter = class end
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| 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 | |
| currentText | Register of text currently in the text box, updated when it changes. | |
| doUpdatesMovedUnderlines |
Internal
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.) | |
| 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. | |
| ToString()()()() | (Inherited from Object.) | |
| Underline(Int32, Int32, UnderlineStyle, Color, BadWord) | Underline text, from start index to end index. | |
| underlines | The underlines being tracked. | |
| UnhideUnderline(Int32, Int32) |
Unhides an underline
|
This class can be derived from for custom painting of other text boxes.
| Object | |
| TextBoxUtilityAdapter | |
Assembly: Keyoti.RapidSpell.NET2 (Module: Keyoti.RapidSpell.NET2.dll) Version: 4.6.1.204