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

TdxAlertWindowHitTest.HitCaptionButtonPin Property

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

#Declaration

Delphi
property HitCaptionButtonPin: TdxAlertWindowPinButtonViewInfo read;

#Property Value

Type
TdxAlertWindowPinButtonViewInfo

#Remarks

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

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

Property Description
Bounds The bounding rectangle of the Pin caption button.
Painter The painter class that is used to paint the button.
Enabled, Pinned, and State The button’s states.
GlyphSize The size of an image displayed within the button.

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