TdxNavBarGroupViewInfo Class
Contains information about the look & feel of a NavBar group.
Declaration
TdxNavBarGroupViewInfo = class(
TdxNavBarCustomItemViewInfo
)
Remarks
The TdxNavBarGroupViewInfo object is passed as the parameter to the OnCustomDraw.GroupCaption, OnCustomDraw.GroupClientBackground, OnCustomDraw.GroupClientForeground and OnCalcGroupClientHeight events. This object enables you to identify the group related to the event via the Group property.
When handling custom painting events, you will need information about the layout of elements within the group. The following table lists the most commonly used properties that provide such information.
Property | Description |
---|---|
CaptionRect | Returns the bounding rectangle of the group header. |
CaptionImageRect | Returns the bounding rectangle of an image displayed within the group header. |
CaptionSignRect | Returns the bounding rectangle of the group header sign. |
CaptionTextRect | Returns the bounding rectangle of the text displayed within the group header. |
ItemsRect | Returns the bounding rectangle of the group’s client area. |
State | Returns the current state of the group header (hot-tracked, pressed, etc.). |
Note that you can also obtain all the style characteristics applied to the group header and its client area via the methods of the TdxNavBarGroupViewInfo object.
Inheritance
TObject
TdxNavBarCustomViewInfo
TdxNavBarCustomItemViewInfo
TdxNavBarGroupViewInfo
See Also