Bar

BarItemLinkBase.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.v20.1.dll

Declaration

public RibbonItemStyles RibbonStyle { get; set; }
Public Property RibbonStyle As RibbonItemStyles

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 BarItemLinkBase.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 BarItemLinkBase.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