SeriesLabelBase.Border Property
In This Article
Gets the label’s border settings.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public RectangularBorder Border { get; }
#Property Value
Type | Description |
---|---|
Rectangular |
A Rectangular |
#Remarks
Use the Border property to specify the border’s color, thickness and visibility.
#Example
This example shows how to configure the series label border options.
Use the following members to configure the border:
Member | Description |
---|---|
Series |
Gets or sets the label settings of series points. |
Series |
Returns the border settings of series point labels. |
Border |
Gets or sets the border’s visibility. |
Border |
Gets or sets the border’s thickness in pixels. |
Border |
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