Badge.VerticalAlignment Property
In This Article
Gets or sets the BadgeControl‘s vertical alignment. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public VerticalAlignment VerticalAlignment { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Vertical |
Top | A Vertical |
#Remarks
The following table lists the combinations of the Badge.VerticalAlignment and Badge.VerticalAnchor values:
| Vertical | |||
---|---|---|---|---|
Vertical | ||||
Bottom | Center | Top | Stretch | |
Bottom | ||||
Center | ||||
Top | ||||
Stretch |
Note
When the Badge.
The following code sample sets the Badge.VerticalAlignment and Badge.VerticalAnchor properties to Bottom:
<dx:SimpleButton ...>
<dx:Badge.Badge>
<dx:Badge Content="10" VerticalAlignment="Bottom" VerticalAnchor="Bottom" />
</dx:Badge.Badge>
</dx:SimpleButton>
See Also