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

Length(Double, LengthUnitType) Constructor

In This Article

Initializes a new instance of the Length class with the specified settings.

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public Length(
    double unitValue,
    LengthUnitType widgetUnitType
)

#Parameters

Name Type Description
unitValue Double

A Double value that specifies the absolute length in pixels or the relative length.

widgetUnitType LengthUnitType

A LengthUnitType that specifies whether the unitValue parameter value is the number of pixels or the relative length multiplier.

See Also