Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonControl.CaptionBarMinWidth Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.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