NavBarGroup.GroupClientHeight Property
Gets or sets the height of the group’s client area.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.1.dll
NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | -1 | The height of the group’s client area, in pixels. |
Remarks
The GroupClientHeight property allows you to control the height of a group’s client area. The default value (-1) indicates that the client area’s height is controlled automatically depending on the number and height of the links that the group displays.
This property is useful for specifying a group’s height when the group serves as a container for external control(s). The NavBarGroup.GroupStyle property must be set to NavBarGroupStyle.ControlContainer for this purpose.
When the “NavigationPane” view is applied to a navbar, the NavBarControl.NavigationPaneGroupClientHeight property controls the default minimum height of groups. If you change the height of the NavBarControl when this view is applied, the NavBar tries to maintain the specified minimum height for the active group by hiding group buttons in the Overflow panel. The GroupClientHeight property allows you to set a greater value for the minimum height of a group than the default one. Setting GroupClientHeight to a smaller value has no effect.