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.GetLengths() Method

Gets an Int32 array whose every item specifies the length of a corresponding Document within a SplitGroup or a SlideGroup.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public int[] GetLengths()

#Returns

Type Description
Int32[]

An Int32 array that contains Document lengths within a SplitGroup or a SlideGroup.

#Remarks

Documents within a SplitGroup container are detached with split bars. An end-user can drag these bars to resize Documents at runtime. The GetLengths method returns an Int32-type array that contains current lengths for all Documents within a SplitGroup.

As for SlideGroup containers, the GetLengths method does not return a zero items array if only Document lengths were explicitly set via the ISlideGroupDefaultProperties.ItemLength property.

See Also