Skip to main content

RibbonControl.OptionsMenuMinWidth Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(330)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int OptionsMenuMinWidth { get; set; }

Property Value

Type Default Description
Int32 330

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.

RibbonConrol_ShowDisplayOptionsButton

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