ColumnCount 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 the number of columns in this RibbonListView. This value is the larger of the RibbonListView.MinColumnCount property value and the maximum number of columns which can be displayed inside the control.
Syntax
public int ColumnCount { get; }Public ReadOnly Property ColumnCount As IntegerExamples
The following example includes the column count value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Column Count: {ribbonListView.ColumnCount}");
Console.WriteLine("Ribbon List View is ready for use.");Console.WriteLine($"Column Count: {ribbonListView.ColumnCount}")
Console.WriteLine("Ribbon List View is ready for use.")Limitations
Read only.