Back to Devexpress

RectangleFillStyle Class

corelibraries-devexpress-dot-xtracharts-36e174bf.md

latest4.4 KB
Original Source

RectangleFillStyle Class

Defines a filling style for rectangular chart elements in 2D series.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public class RectangleFillStyle :
    FillStyle2D
vb
Public Class RectangleFillStyle
    Inherits FillStyle2D

The following members return RectangleFillStyle objects:

Show 17 links

LibraryRelated API Members
Cross-Platform Class LibraryAnnotation.FillStyle
Axis2D.InterlacedFillStyle
AxisLabel.FillStyle
BarDrawOptions.FillStyle
BarSeriesView.FillStyle
BoxPlotDrawOptions.FillStyle
BoxPlotSeriesView.FillStyle
CustomAxisLabel.FillStyle
LegendBase.FillStyle
SeriesLabelBase.FillStyle
Strip.FillStyle
TotalLabel.FillStyle
XYDiagramPaneBase.FillStyle
WinForms ControlsChartControl.FillStyle
ASP.NET MVC ExtensionsChartControlSettings.FillStyle
ASP.NET Web Forms ControlsWebChartControl.FillStyle
.NET Reporting ToolsXRChart.FillStyle

Remarks

The RectangleFillStyle class defines the filling style settings of different rectangular chart elements (such as a bar series view, chart diagram, legend, strip, etc).

An object of the RectangleFillStyle type can be accessed via the FillStyle property of the corresponding chart element (e.g. BarSeriesView.FillStyle, ChartControl.FillStyle).

Example

This example demonstrates the possibilities of customizing a chart diagram‘s panes‘ appearance at runtime.

csharp
XYDiagramPane myPane = new XYDiagramPane("The Pane's Name");

myPane.BackColor = Color.Aqua;
myPane.FillStyle.FillMode = FillMode.Empty;

myPane.BorderVisible = true;
myPane.BorderColor = Color.Blue;

myPane.Shadow.Visible = true;
myPane.Shadow.Color = Color.LightGray;
myPane.Shadow.Size = 2;
vb
Dim myPane As New XYDiagramPane("The Pane's Name")

myPane.BackColor = Color.Aqua
myPane.FillStyle.FillMode = FillMode.Empty

myPane.BorderVisible = True
myPane.BorderColor = Color.Blue

myPane.Shadow.Visible = True
myPane.Shadow.Color = Color.LightGray
myPane.Shadow.Size = 2

Inheritance

Object ChartElement FillStyleBase FillStyle2D RectangleFillStyle

See Also

RectangleFillStyle Members

FillStyle2D

DevExpress.XtraCharts Namespace