MinimumWidth 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 the minimum width, in 1/96 inch, of the displayed drop-down. The default value is 0.
Syntax
public int MinimumWidth { get; set; }Public Property MinimumWidth As IntegerExamples
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}");ribbonListViewItemDropDown.MinimumWidth = 100
Console.WriteLine($"Minimum Width used by Ribbon List View Item Drop Down: {ribbonListViewItemDropDown.MinimumWidth}")