corelibraries-devexpress-dot-xtracharts-dot-xydiagrampanebase-e358a8bb.md
Gets or sets whether the pane’s border is visible.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public bool BorderVisible { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)>
Public Property BorderVisible As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the border is visible; otherwise, false.
|
The following image demonstrates how the BorderVisible property works.
For more information, refer to Panes.
This example demonstrates the possibilities of customizing a chart diagram‘s panes‘ appearance at runtime.
XYDiagramPane myPane = new XYDiagramPane("The Pane's Name");
myPane.BackColor = Color.Aqua;
myPane.FillStyle.FillMode = FillMode.Empty;
myPane.BorderVisible = true;
myPane.BorderColor = Color.Blue;
myPane.Shadow.Visible = true;
myPane.Shadow.Color = Color.LightGray;
myPane.Shadow.Size = 2;
Dim myPane As New XYDiagramPane("The Pane's Name")
myPane.BackColor = Color.Aqua
myPane.FillStyle.FillMode = FillMode.Empty
myPane.BorderVisible = True
myPane.BorderColor = Color.Blue
myPane.Shadow.Visible = True
myPane.Shadow.Color = Color.LightGray
myPane.Shadow.Size = 2
See Also