BadgeDefaultProperties.Location Property

Gets or sets the relative position for this Badge.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll


public ContentAlignment? Location { get; set; }
Public Property Location As ContentAlignment?

Property Value

Type Default Description


A ContentAlignment enumerator value that specifies the relative position for this Badge.


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.

See Also