RibbonPage.Badge Property
Gets or sets the RibbonPage’s BadgeControl. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
Badge | The badge. |
Remarks
The following code sample displays a RibbonPage with a BadgeControl:
<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon">
...
<dxr:RibbonPage Caption="Badges">
<dxr:RibbonPage.Badge>
<dx:Badge Content="NEW" BadgeKind="Success" BadgeShape="Rectangle" ... />
</dxr:RibbonPage.Badge>
</dxb:RibbonPage>
...
</dx:ThemedWindow>
See Also