corelibraries-devexpress-dot-xtracharts-dot-axisbase-88fffd66.md
Gets or sets the interlaced color.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public Color InterlacedColor { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
Public Property InterlacedColor As Color
| Type | Description |
|---|---|
| Color |
A Color structure which specifies the interlaced color.
|
Set the AxisBase.Interlaced property to true to enable axis interlacing. To specify the interlaced fill style use the Axis2D.InterlacedFillStyle property (or Axis3D.InterlacedFillStyle).
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the InterlacedColor 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.
winforms-charts-create-line-chart/CS/Series_LineChart/Form1.cs#L41
((XYDiagram)lineChart.Diagram).AxisY.Interlaced = true;
((XYDiagram)lineChart.Diagram).AxisY.InterlacedColor = Color.FromArgb(20, 60, 60, 60);
((XYDiagram)lineChart.Diagram).AxisX.NumericScaleOptions.AutoGrid = false;
winforms-charts-create-line-chart/VB/Series_LineChart/Form1.vb#L38
CType(lineChart.Diagram, XYDiagram).AxisY.Interlaced = True
CType(lineChart.Diagram, XYDiagram).AxisY.InterlacedColor = Color.FromArgb(20, 60, 60, 60)
CType(lineChart.Diagram, XYDiagram).AxisX.NumericScaleOptions.AutoGrid = False
See Also