DocumentGroup.GetLength(Document) Method

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

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[DefaultValue(0)]
public int GetLength(
    Document document
)
<DefaultValue(0)>
Public Function GetLength(
    document As Document
) As Integer

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