Bar
A newer version of this page is available. Switch to the current version.

RibbonGalleryBarItem.RibbonStyle Property

Gets or sets the options that specify the item’s possible states within a RibbonControl. This member is not supported by the RibbonGalleryBarItem class.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[Browsable(false)]
public RibbonItemStyles RibbonStyle { get; set; }

Property Value

Type Description
RibbonItemStyles

A RibbonItemStyles value.

Available values:

Name Description
Default

If active, an item’s possible states with a Ribbon Control are determined based on the item’s settings. For example, if the item is associated with a small image and isn’t associated with a large image, its possible states within the Ribbon Control are RibbonItemStyles.SmallWithoutText and RibbonItemStyles.SmallWithText.

Large

If active, a bar item can be displayed as a large bar item.

LargeItem

SmallWithText

If active, an item can be displayed like a smal bar item with its caption.

SmalWithTextItem

SmallWithoutText

If active, an item can be displayed like a smal bar item without its caption.

SmalWithoutTextItem

All

If active, enables all other options.

Remarks

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

See Also