Back to Devexpress

PieSeriesView.Border Property

corelibraries-devexpress-dot-xtracharts-dot-pieseriesview-11d52bc1.md

latest2.2 KB
Original Source

PieSeriesView.Border Property

Gets the pie series view’s border settings.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public CustomBorder Border { get; }
vb
<PersistenceMode(PersistenceMode.InnerProperty)>
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
Public ReadOnly Property Border As CustomBorder

Property Value

TypeDescription
CustomBorder

A CustomBorder object which specifies the border style.

|

Remarks

Use the Border property to specify the border’s color, thickness and visibility.

The following example configures pie series border settings:

csharp
Series series1 = new Series("Income", ViewType.Pie);
series1.DataSource = GetDataPoints();
series1.ArgumentDataMember = "State";
series1.ValueDataMembers.AddRange("Sales");
PieSeriesView view = (PieSeriesView)series1.View;

view.Border.Color = System.Drawing.Color.Black;
view.Border.Thickness = 2;
vb
Dim series1 As Series = New Series("Income", ViewType.Pie)
series1.ArgumentDataMember = "State"
series1.ValueDataMembers.AddRange("Sales")
series1.DataSource = GetDataPoints()
Dim view As PieSeriesView = CType(series1.View, PieSeriesView)
view.Border.Color = System.Drawing.Color.Black
view.Border.Thickness = 2

See Also

PieSeriesView Class

PieSeriesView Members

DevExpress.XtraCharts Namespace