corelibraries-devexpress-dot-xtracharts-dot-pieseriesview-11d52bc1.md
Gets the pie series view’s border settings.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public CustomBorder Border { get; }
<PersistenceMode(PersistenceMode.InnerProperty)>
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
Public ReadOnly Property Border As CustomBorder
| Type | Description |
|---|---|
| CustomBorder |
A CustomBorder object which specifies the border style.
|
Use the Border property to specify the border’s color, thickness and visibility.
The following example configures pie series border settings:
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;
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