Examples
Sample code of TX Spell .NET for WPF comes from three places, and knowing them saves a search. The setup installs the largest set of sample projects, in C# and Visual Basic. A few repositories on GitHub add techniques such as a spell checking Web API, though none of them is a WPF application. Blog articles of the Text Control Blog contain further code in the article itself. Topic by topic, the examples pages name the version each sample was written for.
Where the Samples Are
| Samples of the setup | GitHub repositories | Blog articles | |
|---|---|---|---|
| Where | Your Documents folder, in TX Spell 11.0.NET for WPF\Samples\WPF | github.com/TextControl | Text Control Blog |
| What you get | Complete projects in C# and Visual Basic, one for each topic of the documentation | Projects in C# to clone and build, built on the TXSpell class or on Windows Forms | The code of the article, sometimes with a download |
| Version | The installed version | The version the sample was written for, from TX Spell .NET 10.0 on | The version current when the article was written, back to 2011 |
The setup of the full version and of the trial installs the samples; see Installing the Product. Samples written for an earlier version need the current packages or assemblies, as GitHub Examples describes.
Find the Right Page
| If you want to see | Read |
|---|---|
| Which repositories exist for TX Spell .NET, and how to run and update one | GitHub Examples |
Spell checking as you type, the spell check dialog, context menus, suggestions, several controls, text parts, TextBox and RichTextBox, and AutoCorrect | Spell Checking Examples |
| User dictionaries, Hunspell dictionaries, language detection, hyphenation and synonyms | Dictionary and Language Examples |
Where to Start
- Getting Started: connect the spell checker to a control step by step.
- Spell Checking Examples: the sample of the setup for the task you need.
- Dictionary and Language Examples: add languages and words of your own.