windowsforms-devexpress-dot-xtrabars-6f79da4e.md
Defines the paint style for a specific item.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum BarItemPaintStyle
Public Enum BarItemPaintStyle
| Name | Description |
|---|---|
Standard |
Specifies that a specific item is represented using its default settings.
|
| Caption |
Specifies that a specific item is represented by its caption only.
|
| 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.
|
| CaptionGlyph |
Specifies that a specific item is represented both by its caption and the glyph image.
|
The following properties accept/return BarItemPaintStyle values:
BarItem can be displayed with a text caption or an image. What is drawn within an item is defined by the BarItem.PaintStyle property value. Standard item representation depends upon the current item’s location. If an item is placed on a toolbar, this item is represented by its image and the item’s caption is not drawn. If an item is placed in a submenu, it is represented by both a caption and an image.
See Also