BadgeDefaultProperties.Location Property
Gets or sets the relative position for this Badge.
Namespace: DevExpress.Utils.VisualEffects
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
[DefaultValue(null)]
[DXCategory("Layout")]
public ContentAlignment? Location { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Nullable<ContentAlignment> | null | A ContentAlignment enumerator value that specifies the relative position for this Badge. |
Remarks
Badge are anchored to specific UI elements via the AdornerElement.TargetElement property. By default, badges are located at the top left corner of their related elements. Use the Location property to change this relative position. Additionally, you can move badges from their positions using the BadgeDefaultProperties.Offset property.
If the Location property is not set, badges are aligned according to the global BadgeProperties.Location property.