Create(TdxNavBarViewInfo,TdxNavBarGroup,Boolean,Boolean) Constructor
Creates and initializes an instance of the TdxNavBarGroupViewInfo class.
Declaration
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