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