MaxColumnCount 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 or sets a value specifying the maximum number of columns in this RibbonListView. If the value is set to null, the number of columns is the maximum number of columns which can be displayed inside the control. The default value is null.
Syntax
public int? MaxColumnCount { get; set; }Public Property MaxColumnCount As Integer?Examples
The following example uses RibbonListView.MaxColumnCount to configure max column count as part of the ribbon list view workflow. The change is then applied to the active document or user interface.
ribbonListView.MaxColumnCount = 1;
ribbonListView.Update();ribbonListView.MaxColumnCount = 1
ribbonListView.Update()