Back to Devexpress

LayoutSizeValue.Type Property

wpf-devexpress-dot-xpf-dot-charts-dot-layoutsizevalue.md

latest1.6 KB
Original Source

LayoutSizeValue.Type Property

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

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public LayoutSizeValueType Type { get; }
vb
Public ReadOnly Property Type As LayoutSizeValueType

Property Value

TypeDescription
LayoutSizeValueType

The measurement unit in which the layout measures the size.

|

Available values:

NameDescription
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

LayoutSizeValue Struct

LayoutSizeValue Members

DevExpress.Xpf.Charts Namespace