Back to Devexpress

Badge.Height Property

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

latest1.8 KB
Original Source

Badge.Height Property

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

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public double Height { get; set; }
vb
Public Property Height As Double

Property Value

TypeDescription
Double

A Double value that specifies the BadgeControl‘s height.

|

Remarks

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

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

See Also

Badge.MaxHeight Property

Badge.MaxWidth Property

Badge.MinHeight Property

Badge.MinWidth Property

Badge.Width Property

Badge Class

Badge Members

DevExpress.Xpf.Core Namespace