TX Spell .NET for WPF

ChangeButtons Property

Property|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all dialog buttons that are located to the right of the SpellCheckDialog's suggestion list. The property's value is an object of type DialogButtonCollection and can be modified by using its methods and properties. The default content of that collection are buttons of type Change and ChangeAll.

Syntax

public DialogButtonCollection ChangeButtons { get; }

Examples

The following example iterates through the change buttons collection and processes each dialog button.

foreach (TXTextControl.WPF.Proofing.DialogButton dialogButton in spellCheckDialog.ChangeButtons)
{
    dialogButton.Text = "Quarterly results";
}

Limitations

Read only.