Skip to main content

TdxAlertWindowHitTest.HitBackground Property

Returns the ViewInfo information associated with the inspected point if it corresponds to an alert window‘s background.

Declaration

property HitBackground: TdxAlertWindowViewInfo read;

Property Value

Type Description
TdxAlertWindowViewInfo

Stores Alert Window ViewInfo information.

Remarks

This property returns a TdxAlertWindowViewInfo class instance if the HitAtBackground property returns True for the inspected point; otherwise, nil.

The table below lists the main TdxAlertWindowViewInfo properties that are useful for custom painting.

Property Description
Bounds The bounding rectangle of an alert window’s background (matches the entire alert window).
Painter The painter class used to paint the background.

Note

Since methods of ViewInfo classes support the internal infrastructure and are not intended for use in your code, we recommend that you use only ViewInfo class properties.

See Also