All docs
V20.2
20.2
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.

Badge.BadgeKind Property

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

Namespace: DevExpress.Xpf.Core

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

Declaration

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

Property Value

Type Default Description
BadgeKind

Information

A BadgeKind enumeration value.

Remarks

The BadgeKind is the predefined set of the Badge.Foreground, Badge.Background, Badge.BorderBrush, and Badge.BorderThickness property values. You can override the BadgeKind with any of the these properties.

The following code sample creates the error badge:

WPF Badges - Information Badge

<dx:SimpleButton ...>
  <dx:Badges.Badge>
    <dx:Badge Content="10" BadgeKind="Error" />
  </dx:Badges.Badge>
</dx:SimpleButton>
TIP

Refer to the Customize the Appearance section to get more information on the Badge's appearance properties.

See Also