Back to Devexpress

RibbonControl.CaptionBarMinWidth Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-6c578cc0.md

latest1.7 KB
Original Source

RibbonControl.CaptionBarMinWidth Property

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

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
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.

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

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace