TX Spell .NET for Windows Forms

Item Method

Method|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a DialogButton from the collection. This property is the indexer for the DialogButtonCollection class.

Syntax

public DialogButton this[int number] { get; }

Return Value

The object of the type DialogButton at the specified index.

Examples

The following example includes the item value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Item: {dialogButtonCollection[10]}");
Console.WriteLine("Dialog Button Collection is ready for use.");