TX Text Control .NET for Windows Forms

MinimumWidth Property

Property|Introduced in 29.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 the minimum width, in 1/96 inch, of the displayed drop-down. The default value is 0.

Syntax

public int MinimumWidth { get; set; }

Examples

The following example uses RibbonListViewItemDropDown.MinimumWidth to configure minimum width as part of the ribbon list view item drop down workflow. The configured value is checked before the workflow continues.

ribbonListViewItemDropDown.MinimumWidth = 100;
Console.WriteLine($"Minimum Width used by Ribbon List View Item Drop Down: {ribbonListViewItemDropDown.MinimumWidth}");