TX Text Control .NET for Windows Forms

ColumnCount Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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; }

Examples

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.");

Limitations

Read only.