Skip to main content

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