Skip to main content

TdxCustomAdorner.TargetElementClassName Property

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

Declaration

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