Skip to main content
Bar

RibbonGalleryBarItem.PaintStyle Property

Gets or sets the item’s paint style. This member is not supported by the RibbonGalleryBarItem class.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public BarItemPaintStyle PaintStyle { get; set; }

Property Value

Type Description
BarItemPaintStyle

A BarItemPaintStyle value.

Available values:

Name Description
Standard

Specifies that a specific item is represented using its default settings.

PaintStyle.Standard

Caption

Specifies that a specific item is represented by its caption only.

PaintStyle.Caption

CaptionInMenu

Specifies that a specific item is represented by its caption when it is in a submenu, or by its image when it is in a bar.

PaintStyle.CaptionInmenu

CaptionGlyph

Specifies that a specific item is represented both by its caption and the glyph image.

PaintStyle.CaptionGlyoh

Remarks

This member is not supported by the RibbonGalleryBarItem class. The PaintStyle property is overridden to hide it at design time.

See Also