Skip to main content

AdornerElement.TargetElementRegion Property

Gets or sets whether this AdornerElement should be aligned relatively to the target element’s header or child control.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(TargetElementRegion.Default)]
public TargetElementRegion TargetElementRegion { get; set; }

Property Value

Type Default Description
DevExpress.Utils.VisualEffects.TargetElementRegion Default

A DevExpress.Utils.VisualEffects.TargetElementRegion enumeration value that specifies whether this AdornerElement should be aligned relatively to the target element’s header or child control.

Remarks

The TargetElementRegion property is functional only when the element’s AdornerElement.TargetElement property is set to a XtraTabPage object. The figure below illustrates two Badges displayed above an XtraTabPage: the TargetElementRegion property is set to TargetElementRegion.Header for the “H” badge, and TargetElementRegion.Control for the “C” badge.

Adorner UI Manager - Region

See Also