Skip to main content
A newer version of this page is available. .

NavBarGroup.GroupClientHeight Property

Gets or sets the height of the group’s client area.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll

Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
public virtual int GroupClientHeight { get; set; }

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupClientHeight property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also