Skip to main content
Bar

BarItem.RibbonStyle Property

Gets or sets the options that specify the bar item link's possible states within a RibbonControl. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[XtraSerializableProperty]
public RibbonItemStyles RibbonStyle { get; set; }

#Property Value

Type Description
RibbonItemStyles

A set of RibbonItemStyles flags that specify the bar item link's possible states within a Ribbon Control.

#Remarks

For bar item links displayed within a RibbonControl, you can customize which states these objects support. You can customize these settings for bar item links and corresponding bar items via the BarItemLink.RibbonStyle and BarItem.RibbonStyle properties, respectively.

A link's RibbonStyle property has a higher priority than the corresponding bar item's RibbonStyle property. If a bar item link's BarItemLink.RibbonStyle property is set to Default, the corresponding bar item's property is used. Otherwise, the bar item's RibbonStyle property is ignored.

See Also