Skip to main content

TdxTileControlHitTest.HitObject Property

Returns ViewInfo information on the tile control element located at the inspected point.

Declaration

property HitObject: TObject read; write;

Property Value

Type
TObject

Remarks

This property returns a ViewInfo object if one of the HitAt-prefixed properties returns True for the inspected point; otherwise – nil. To learn more about HitAt~ properties, refer to the corresponding topics.

The table below lists all possible ViewInfo classes and their corresponding UI elements:

ViewInfo Class Name

UI Element

Useful Class Properties

colspan=”2” |

Property Name

Description

TdxTileControlViewInfo

The tile control.

TdxTileControlTitleViewInfo

The tile control title.

Font

The font settings applied to the tile control title.

Title

Provides access to the tile control title.

TdxTileControlItemViewInfo

A tile item.

Focused

Indicates whether or not the tile item is focused.

Group

Provides access to the tile group linked to the tile item.

Item

Provides access to the tile item.

Selected

Indicates whether or not the tile item is checked.

TdxTileControlGroupViewInfo

A tile group.

Selected

Indicates whether or not the tile group is checked.

TdxTileControlGroupCaptionViewInfo

A tile group caption.

Font

The font settings applied to the tile group caption.

Group

Provides access to the corresponding tile group.

TextColor

The tile group caption’s text color.

TdxTileControlDetailSiteTitleViewInfo

The detail page title.

Item

Provides access to the tile item associated with the detail page.

ScrollTabsLeftButton

Provides access to the tab left arrow button‘s ViewInfo (TdxTileControlDetailSiteTabsScrollButtonViewInfo) of the detail page.

ScrollTabsRightButton

Provides access to the tab right arrow button‘s ViewInfo (TdxTileControlDetailSiteTabsScrollButtonViewInfo) of the detail page.

TabsFont

The font settings applied to detail page.

TdxTileControlPageTabCellViewInfo

A detail page tab.

Active

This flag indicates whether or not the tab is active.

Caption

The tab’s caption.

Font

The font settings applied to the tab’s caption.

Item

Provides access to the tile item associated with the detail page.

State

The tab’s state.

TdxTileControlDetailSiteTabsScrollButtonViewInfo

An arrow button.

Direction

The arrow button’s scrolling direction.

State

The arrow button’s state.

TdxTileControlScrollButtonViewInfo

A scroll button.

Direction

The button’s scrolling direction.

State

The button’s state.

TdxTileControlBottomActionBarViewInfo

The bottom action bar.

TdxTileControlTopActionBarViewInfo

The top action bar.

TdxTileControlActionBarItemViewInfo

An action button.

Item

Provides access to the action button (also called action bar item).

TdxTileControlDetailSiteBackButtonViewInfo

The Back button displayed on the detail page title.

TdxTileControlTopActionBarBackButtonViewInfo

The Back button displayed by the top action bar activated on a detail page.

Refer to the OnActionBarsHide event description for the example of the HitObject property use.

See Also