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

Create(TdxNavBarViewInfo,TdxNavBarGroup,Boolean,Boolean) Constructor

Creates and initializes an instance of the TdxNavBarGroupViewInfo class.

#Declaration

Delphi
constructor Create(AViewInfo: TdxNavBarViewInfo; AGroup: TdxNavBarGroup; ACaptionVisible: Boolean; AItemsVisible: Boolean); virtual;

#Parameters

Name Type
AViewInfo TdxNavBarViewInfo
AGroup TdxNavBarGroup
ACaptionVisible Boolean
AItemsVisible Boolean

#Remarks

This method is used to instantiate a new TdxNavBarGroupViewInfo object. The AViewInfo parameter specifies the object owning the collection of TdxNavBarGroupViewInfo objects within the control. The AGroup parameter represents the group whose ViewInfo information is contained in the created object.

You should have no need to use the constructor in your applications, as TdxNavBarGroupViewInfo objects with proper settings are automatically created and passed to the OnCustomDraw.GroupCaption, OnCustomDraw.GroupClientBackground, OnCustomDraw.GroupClientForeground and OnCalcGroupClientHeight events.

See Also