C# Class Acrolinx.Demo.Sidebar.TextBoxAdapter

TextBoxAdapter is a sample implementation of IAdapter . The TextBoxAdapter uses UniversalAdapter as base class, which simplifies the implementation since it already does some offset magic to adjust the guessed offsets to the actual offsets of the source.
Inheritance: Acrolinx.Sdk.Sidebar.Util.Adapter.UniversalAdapter
Afficher le fichier Open project: acrolinx/acrolinx-sidebar-demo-dotnet

Méthodes publiques

Méthode Description
TextBoxAdapter ( string tagName, TextBox textBox, bool encodeContent ) : System

Méthodes protégées

Méthode Description
ExtractRaw ( ) : string
ReplaceRawRange ( IRange range, string replacement, System.Text.Format format ) : void
SelectRawRange ( IRange range, System.Text.Format format ) : void

Method Details

ExtractRaw() protected méthode

protected ExtractRaw ( ) : string
Résultat string

ReplaceRawRange() protected méthode

protected ReplaceRawRange ( IRange range, string replacement, System.Text.Format format ) : void
range IRange
replacement string
format System.Text.Format
Résultat void

SelectRawRange() protected méthode

protected SelectRawRange ( IRange range, System.Text.Format format ) : void
range IRange
format System.Text.Format
Résultat void

TextBoxAdapter() public méthode

public TextBoxAdapter ( string tagName, TextBox textBox, bool encodeContent ) : System
tagName string
textBox System.Windows.Forms.TextBox
encodeContent bool
Résultat System