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

LayoutPosition.Mode Property

Gets or sets the mode that specifies how the value should be interpreted.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

LayoutMode Mode { get; set; }

Property Value

Type Description
LayoutMode

A LayoutMode enumeration member.

Available values:

Name Description
Auto

Specifies that the width or height is set automatically, so the corresponding value is null when obtained or ignored when being set.

Edge

Specifies that the Width or Height property values are interpreted as the position of the right or bottom edge of the chart element as a fraction of the height or width of the chart.

Factor

Specifies that the Width or Height property values are interpreted as a fraction of the width (height) of the chart and the position is relative to the default position for the chart element.

Remarks

Use the LayoutPosition.SetPosition method to specify the value and the mode simultaneously.

See Also