Skip to main content

LayoutSizeValue.Type Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v21.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

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. The diagram summarizes a total weight and computes the weight unit’s absolute size by dividing the size of weighted items by the total weight.
  3. The item’s size is the weight unit’s absolute size multiplied by the item weight.
See Also