Skip to main content

DocumentGroup.GetLength(Document) Method

Gets a specific Document‘s length within the current DocumentGroup.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public int GetLength(
    Document document


Name Type Description
document Document

A Document whose length is to be obtained.


Type Default Description
Int32 0

An Int32 value that is a specific Document‘s length.


You can set different lengths to individual Documents within DocumentGroups via the DocumentGroup.SetLength method. A Document’s current length can be obtained via the GetLength (for specific Documents) or DocumentGroup.GetLengths (for all Documents) methods.

See Also