Skip to main content
A newer version of this page is available. .

RibbonControl.DrawGroupCaptions Property

Gets or sets whether to draw captions for Ribbon Page Groups.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public DefaultBoolean DrawGroupCaptions { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A value that specifies whether to draw captions for Ribbon Page Groups.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

By default, the RibbonControl doesn’t draw Ribbon Page Group captions in the OfficeUniversal and TabletOffice styles (see RibbonControl.RibbonStyle). In other styles, page group captions are displayed.

To always draw Ribbon Page Group captions, set the DrawGroupCaptions property to True. If this property is set to False, Ribbon Page Group captions are always hidden.

Note

The DrawGroupCaptions property is in effect only if the RibbonControl.DrawGroupsBorderMode option is enabled. If the DrawGroupsBorderMode option is disabled, page group captions are not displayed regardless of the DrawGroupCaptions property’s value.

See Also