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