Skip to main content
A newer version of this page is available. .

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.v19.1.dll

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