Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonPage.Badge Property

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

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public Badge Badge { get; set; }

#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