SeriesLabelBase.Border Property

Gets the label’s border settings.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll


public RectangularBorder Border { get; }

Property Value

Type Description

A RectangularBorder object which specifies the border style.


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


This example shows how to configure the series label border options.

Use the following members to configure the border:

Member Description
SeriesBase.Label Gets or sets the label settings of series points.
SeriesLabelBase.Border Returns the border settings of series point labels.
BorderBase.Visibility Gets or sets the border’s visibility.
BorderBase.Thickness Gets or sets the border’s thickness in pixels.
BorderBase.Color Gets or sets the border’s color.
SeriesLabelBase seriesLabel = chartControl.Series["Series1"].Label;

seriesLabel.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
seriesLabel.Border.Thickness = 3;
seriesLabel.Border.Color = Color.Magenta;
See Also