Item Method
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WinForms. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets a DialogButton from the collection. This property is the indexer for the DialogButtonCollection class.
Syntax
public DialogButton this[int number] { get; }Default Public ReadOnly Property Item(number As Integer) As DialogButtonReturn 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.");Console.WriteLine($"Item: {dialogButtonCollection.Item(10)}")
Console.WriteLine("Dialog Button Collection is ready for use.")