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

LayoutSizeValue.Type Property

Returns the measurement unit in which the layout measures the size.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v18.2.dll

Declaration

public LayoutSizeValueType Type { get; }

Property Value

Type Description
LayoutSizeValueType

The measurement unit in which the layout measures the size.

Available values:

Name Description
Weight

The layout measures size as weight.

Absolute

The layout measures a size in pixels.

Remarks

Remarks

The diagram measures item size as follows when the size type is Weight:

  1. The diagram calculates size available for weighted items by subtracting absolute sizes from the size available for all items.
  2. Summarizes a total weight and computes the weight unit’s absolute size by dividing size for weighted items on the total weight.
  3. The item’s size is the weight unit’s absolute size multiplied by the item weight.
See Also