Skip to main content

TdxSpreadSheetCustomHitTest.HitObject Property

Returns ViewInfo information on the Spreadsheet or Report Designer control’s visual element located at the test point.

Declaration

property HitObject: TdxSpreadSheetCustomCellViewInfo read; write;

Property Value

Type
TdxSpreadSheetCustomCellViewInfo

Remarks

To access the type-specific members of a ViewInfo object returned by the HitObject property, cast a TdxSpreadSheetCustomCellViewInfo object to a class corresponding to the actual visual element located at the inspected point.

To identify the actual ViewInfo class of the object at the test point, use the TdxSpreadSheetCustomCellViewInfo object’s ClassType function.

See Also