BadgeDefaultProperties.Location Property

Gets or sets the relative position for this Badge.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DefaultValue(null)]
[DXCategory("Layout")]
public ContentAlignment? Location { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Layout")>
Public Property Location As ContentAlignment?

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.

See Also