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

DocumentGroup.GroupLength Property

Gets or sets the width/height of the current group. This property is in effect when there are multiple groups in the TabbedView.DocumentGroups collection.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(0)]
public int GroupLength { get; set; }

#Property Value

Type Default Description
Int32 0

The width/height of the current group.

#Remarks

When there are multiple groups, they are arranged either horizontally or vertically, as specified by the TabbedView.Orientation property. The GroupLength property allows you to set a group’s width/height. This also affects the width/height of adjacent groups.

The GroupLength property is specified in proportional values. If there are two groups, and you set the GroupLength to 2 and 3 for these groups respectively, the first group’s length will be 2/5ths of the TabbedView total length, while the length of the second group will be 3/5ths.

See Also