Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutMode Enum

Lists the possible interpretations of the Width and Height properties which specify the position of a chart element.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum LayoutMode

#Members

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.

#Related API Members

The following properties accept/return LayoutMode values:

#Remarks

Assign the LayoutMode member to the LayoutPosition.Mode property.

See Also