Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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