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