Skip to main content

Badge.Width Property

Gets or sets the BadgeControl‘s width. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core


public double Width { get; set; }

Property Value

Type Description

A Double value that specifies the BadgeControl‘s width.


The following code sample sets the Badge.Height property to 25 and the Width property to 45:

WPF Badges - Height and Width Properties

<Button Content="Inbox">
    <dx:Badge Content="10" Height="25" Width="45"/>
See Also