All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

RibbonPage.Badge Property

Gets or sets the RibbonPage's BadgeControl. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v20.1.dll

Declaration

public Badge Badge { get; set; }
Public Property Badge As Badge

Property Value

Type Description
Badge

The badge.

Remarks

The following code sample displays a RibbonPage with a BadgeControl:

WPF RibbonPage - Badge property

<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