Skip to main content

RibbonControl.CaptionBarMinWidth Property

Gets or sets the minimum width (in pixels) for the Ribbon caption bar.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int CaptionBarMinWidth { get; set; }

Property Value

Type Default Description
Int32 -1

The minimal caption bar width (in pixels).

Remarks

The caption bar is the region of the Ribbon that includes the form caption, standard form buttons (Close, Maximize, Minimize), and custom bar items added next to these standard buttons.

Ribbon Caption Bar

You can specify the minimum width for this bar to prevent it from being overlapped by Ribbon Pages and Page Categories, which may happen if the form is too narrow to accommodate all these items.

See Also