Keyoti RapidSpell WPF API Docs
WpfTextBoxAdapter Class
APIKeyoti.RapidSpell.WpfWpfTextBoxAdapter
Keyoti RapidSpell WPF
Used (primarily internally) to wrap the plain TextBox control with required interfaces for spell checking.
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public class WpfTextBoxAdapter : WpfBaseAdapter, 
	ISpellCheckableTextComponent, IAYTTextBox
public class WpfTextBoxAdapter : WpfBaseAdapter, 
	ISpellCheckableTextComponent, IAYTTextBox
Public Class WpfTextBoxAdapter
	Inherits WpfBaseAdapter
	Implements ISpellCheckableTextComponent, IAYTTextBox
Public Class WpfTextBoxAdapter
	Inherits WpfBaseAdapter
	Implements ISpellCheckableTextComponent, IAYTTextBox
public ref class WpfTextBoxAdapter : public WpfBaseAdapter, 
	ISpellCheckableTextComponent, IAYTTextBox
public ref class WpfTextBoxAdapter : public WpfBaseAdapter, 
	ISpellCheckableTextComponent, IAYTTextBox
type WpfTextBoxAdapter =  
    class
        inherit WpfBaseAdapter
        interface ISpellCheckableTextComponent
        interface IAYTTextBox
    end
type WpfTextBoxAdapter =  
    class
        inherit WpfBaseAdapter
        interface ISpellCheckableTextComponent
        interface IAYTTextBox
    end
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
WpfTextBoxAdapter(TextBox, Boolean)
Create a new TextBox wrapper.

CaretPosition
The caret position

ContextMenu
The context menu that will be shown when the right click is not on a misspelled word.

ContextMenuDefault
The context menu that will be shown when the right click is not on a misspelled word.

ContextMenuOpening
ContextMenuOpening event

CreateErrorAdorner(Int32, Int32, UnderlineStyle, Color)
Create an adorner.
(Overrides WpfBaseAdapter.CreateErrorAdorner(Int32, Int32, UnderlineStyle, Color).)
Dispose()()()()
Cleans up resources immediately.

Disposed
Event fires when component is Disposed.

Enabled
Whether the textbox is Enabled

Equals(Object)
Whether this and obj are handling the same text box.
(Overrides Object.Equals(Object).)
Finalize()()()() (Inherited from Object.)
GetBaselineOffsetAtCharIndex(Int32)
Gets the Y offset of the baseline from the position returned by GetPosFromCharIndex for a particular character.

GetCharIndexFromPos(Point)
gets the char index from a position point.

GetFirstVisibleCharIndex()()()()
Interface requirement, returns 0.

GetHashCode()()()()
Gets the hash code
(Overrides Object.GetHashCode()()()().)
GetPosFromCharIndex(Int32)
Gets the position point from the char index.

GetTBU()()()()
Interface requirement

GetType()()()() (Inherited from Object.)
GotFocus
Textbox GotFocus

Height
Gets or sets the height of the control.

HideSelection
Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.

IsEnabledChanged
IsEnabledChanged event

IsManagingSameControl(WpfTextBoxAdapter)
Whether this adapter is managing the same control as 'ad'

KeyDown
Occurs when a key is pressed while the control has focus.

KeyUp
Occurs when a key is released while the control has focus.

LostFocus
Textbox LostFocus

MemberwiseClone()()()() (Inherited from Object.)
MouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.

MouseUp
Occurs when the mouse is released on the text box.

OnTextChanged(Object, TextChangedEventArgs)
Fires text changed event

ReadOnly
Whether text box is ReadOnly

Refresh()()()()
Forces the control to repaint.

ScrollToCaret()()()()
Scrolls to caret.

Select(Int32, Int32)
Selects a region

SelectedText
Gets or sets a value indicating the currently selected text in the control.

SelectionAdorner
The highlighter used to highlight errors.

SelectionEnd
Gets or sets the starting point of text selected in the text box.

SelectionLength

SelectionStart
Gets or sets the starting point of text selected in the text box.

SetTBU(WpfTextBoxBaseUtilityAdapter)
Sets the TextBoxUtilityAdapter to use.

Text
Gets or sets the current text in the text box.

TextChanged
Occurs when the Text property value changes.

TextControl
The TextBox to be spell checked.

TextLength
Gets the current text length in the text box.

theWrappedTextBox
The wrapped text box
(Inherited from WpfBaseAdapter.)
ToString()()()() (Inherited from Object.)
UnderlineYOffset
Controls the position of the underline relative to the baseline.

Width
Gets or sets the width of the control.

WrappedTextBox
The wrapped text box
(Inherited from WpfBaseAdapter.)
Inheritance Hierarchy
Object
WpfBaseAdapter
 WpfTextBoxAdapter

Assembly: Keyoti4.RapidSpell.WPF (Module: Keyoti4.RapidSpell.WPF.dll) Version: 3.1.16.1214