TX Text Control .NET for Windows Forms

MaxColumnWidth Property

Property|Introduced in 27.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 or sets a value, in 1/96 inch, specifying the maximum column width in this RibbonListView. The default value is int.MaxValue.

Syntax

public int MaxColumnWidth { get; set; }

Examples

The following example uses RibbonListView.MaxColumnWidth to configure max column width as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

ribbonListView.MaxColumnWidth = 100;
ribbonListView.Update();