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

TdxSpreadSheetCustomHitTest.HitObject Property

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

#Declaration

Delphi
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