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

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.v22.1.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