Skip to main content

FillStyle2D.FillMode Property

Gets or sets the filling mode for an element’s surface.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraSerializableProperty]
public FillMode FillMode { get; set; }

Property Value

Type Description
FillMode

A FillMode enumeration value which specifies how an element’s surface is filled.

Available values:

Name Description
Empty

The fill mode is not specified and thus the default fill mode from the appearance is used. Note that series labels do not support the transparent fill when Empty mode is enabled and DirectX rendering is used. For more information, see the following topic: technical limitations.

Solid

Specifies that an element’s surface should be filled in the solid mode.

Gradient

Specifies that an element’s surface should be filled in gradient mode.

Hatch

Specifies that an element’s surface should be filled in hatch mode.

Remarks

Note that if the FillMode property is set to FillMode.Empty, the FillMode property value is obtained from the current appearance, which is specified by the ChartControl.AppearanceName (or WebChartControl.AppearanceName) property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FillMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also