ColumnWidth 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 width, in 1/96 inch, for each column in this RibbonListView. This value equals to the width of the RibbonListView's broadest RibbonListViewItem plus the horizontal cell padding value.
Syntax
public int ColumnWidth { get; }Public ReadOnly Property ColumnWidth As IntegerExamples
The following example includes the column width value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Column Width: {ribbonListView.ColumnWidth}");
Console.WriteLine("Ribbon List View is ready for use.");Console.WriteLine($"Column Width: {ribbonListView.ColumnWidth}")
Console.WriteLine("Ribbon List View is ready for use.")Limitations
Read only.