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

TdxCustomAdorner.TargetElementClassName Property

Specifies the name of the adorner’s target element class.

#Declaration

Delphi
property TargetElementClassName: string read; write;

#Property Value

Type
string

#Remarks

You can use this property to switch between the currently supported ways to specify the adorner’s target UI element:

The current TargetElementClassName property value determines the actual type of the target UI element accessible via the TargetElement property. To access the Control or Path sub-property, you need to cast the property value to the class whose name is specified by the TargetElementClassName property.

Alternatively, you can specify a class-reference to the required target element class by using the TargetElementClass property.

Note

Using the TargetElementClassName property is preferable to TargetElementClass in C++Builder code.

See Also