SeriesLabelBase.Border Property

Gets the label's border settings.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

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

Property Value

Type Description
RectangularBorder

A RectangularBorder object which specifies the border style.

Remarks

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

Examples

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;

Implements

DevExpress.XtraCharts.Native.ITextPropertiesProvider.Border
See Also