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



IconMemberDescription
WpfRichTextBoxAdapter(RichTextBox, Boolean)
Creates a new proxy with a TextBoxBase

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
Context menu opening event

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

Disposed
Disposed event

Enabled
Whether text box is enabled

Equals(Object)
Whether this adapter is wrapping same text box as 'obj'
(Overrides Object.Equals(Object).)
Finalize()()()() (Inherited from Object.)
GetBaselineOffsetAtCharIndex(Int32)
Not implemented in WPF

GetCharIndexFromPos(Point)
Gets the character index of a Point

GetHashCode()()()()
Gets the hash code.
(Overrides Object.GetHashCode()()()().)
GetPointerAtIndex(Int32, Int32)
Gets TextPointers at two close indexes.

GetPosFromCharIndex(Int32)
Gets the Point of a char index.

GetPosFromCharIndex2(Int32)
Gets a character rectangle around an char at index.

GetTBU()()()()
Interface requirement

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

Height
Gets or sets the height of the control.

HideSelection
Not implemented

IsEnabledChanged
IsEnabledChanged event

KeyDown
KeyDown event

KeyUp
KeyUp event

LostFocus
Textbox LostFocus

MemberwiseClone()()()() (Inherited from Object.)
MouseDown
MouseDown event

MouseUp
MouseUp event

ReadOnly
Whether text box is readonly

Refresh()()()()
Refresh the underlines

ScrollToCaret()()()()
Scrolls the textbox to the caret

Select(Int32, Int32)
Selects a region of text.

SelectedText
The selected text.

SelectionAdorner
The highlighter used to highlight errors.

SelectionEnd
Selection end

SelectionLength
Selection length

SelectionStart
Selection start

Text
The text in the RichTextBox

TextChanged
Fired when text changes

TextControl
The wrapped text box.

TextLength
Text length

theWrappedTextBox
The wrapped text box
(Inherited from WpfBaseAdapter.)
ToString()()()() (Inherited from Object.)
Width
Gets or sets the width of the control.

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

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