Back to Devexpress

Badge.BorderBrush Property

wpf-devexpress-dot-xpf-dot-core-dot-badge-c97e219b.md

latest2.0 KB
Original Source

Badge.BorderBrush Property

Gets or sets the brush used to paint the borders of the BadgeControl. This is a dependency property.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public Brush BorderBrush { get; set; }
vb
Public Property BorderBrush As Brush

Property Value

TypeDescription
Brush

A Brush value.

|

Remarks

The following code sample disables the border’s background (the Badge.BadgeKind property), displays a 1 pixel badge border (the Badge.BorderThickness property), and sets the border color to red (the Badge.BorderBrush property):

xaml
<dx:SimpleButton ...>
  <dx:Badge.Badge>
    <dx:Badge Content="10" BadgeKind="None" 
    BorderThickness="1" BorderBrush="Red" />
  </dx:Badge.Badge>
</dx:SimpleButton>

See Also

Badge.BadgeKind Property

Badge.BorderThickness Property

Badge.Foreground Property

Badge.Background Property

Badge Class

Badge Members

DevExpress.Xpf.Core Namespace