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

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

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(0)]
public int GetLength(
    Document document
)

#Parameters

Name Type Description
document Document

A Document whose length is to be obtained.

#Returns

Type Default Description
Int32 0

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

#Remarks

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