Item Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets an object of type RibbonGroup from the collection. This property is the indexer for the RibbonItemCollection class.
Syntax
public RibbonGroup this[int number] { get; }Default Public ReadOnly Property Item(number As Integer) As RibbonGroupExamples
The following example includes the item value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Item: {ribbonGroupCollection[10]}");
Console.WriteLine("Ribbon Group Collection is ready for use.");Console.WriteLine($"Item: {ribbonGroupCollection.Item(10)}")
Console.WriteLine("Ribbon Group Collection is ready for use.")