Back to Devexpress

RibbonControl.OptionsMenuMinWidth Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-a23cca90.md

latest2.0 KB
Original Source

RibbonControl.OptionsMenuMinWidth Property

Gets or sets the minimum width of the Display Options button’s dropdown window.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(330)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int OptionsMenuMinWidth { get; set; }
vb
<DefaultValue(330)>
<XtraSerializableProperty>
<DXCategory("Appearance")>
Public Property OptionsMenuMinWidth As Integer

Property Value

TypeDefaultDescription
Int32330

An integer value that specifies the minimum width of the Display Options button’s dropdown window.

|

Remarks

The RibbonControl.ShowDisplayOptionsMenuButton setting specifies whether to show the Display Options button that invokes a dropdown window with available display modes. See the image below.

By default, the dropdown window width is set to a value that allows all menu items to be displayed in their entirety. The OptionsMenuMinWidth property allows you to set the dropdown window width to any custom value.

See Also

MinWidth

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace