Skip to main content

TdxCustomRangeControlHitTest.HitObject Property

Returns information (a ViewInfo object) on the range control’s visual element located at the test point.

Declaration

property HitObject: TdxRangeControlElementViewInfo read; write;

Property Value

Type
TdxRangeControlElementViewInfo

Remarks

To access the element-specific ViewInfo properties and methods, you need to cast the TdxRangeControlElementViewInfo object returned by this property to the ViewInfo type corresponding to the actual visual element located at the test point. To identify the actual ViewInfo class of the object at the test point, use either the ClassName or ToString function of an object returned by the HitObject property.

See Also