Back to Devexpress

DocumentGroup.GroupLength Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-documentgroup-effd40d3.md

latest2.1 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0)]
public int GroupLength { get; set; }
vb
<DefaultValue(0)>
Public Property GroupLength As Integer

Property Value

TypeDefaultDescription
Int320

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

DocumentGroup Class

DocumentGroup Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace