Skip to main content

Length(Double, LengthUnitType) Constructor

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

Namespace: DevExpress.XtraBars.Docking2010.Views.Widget

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public Length(
    double unitValue,
    LengthUnitType widgetUnitType


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