AdornerElement.TargetElement Property

Syntax

C#

public object TargetElement { get; set; }

VB

Public Property TargetElement As Object

Property value

Type: Object
An Object related to this AdornerElement.
The default is null.

Remarks

Use the TargetElement property to bind this AdornerElement to a specific UI element. Then, you can use the Location and Offset properties to move the adorner element around. These settings are accessed through the element's Properties section (e.g., the Badge.Properties property for badges).