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.v20.2.dll

Declaration

public Length(
    double unitValue,
    LengthUnitType widgetUnitType
)
Public Sub New(
    unitValue As Double,
    widgetUnitType As LengthUnitType
)

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