corelibraries-devexpress-dot-xtracharts-dot-borderbase-65cab245.md
Specifies whether the border is visible.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public DefaultBoolean Visibility { get; set; }
Public Property Visibility As DefaultBoolean
| Type | Description |
|---|---|
| DefaultBoolean |
Default - the border visibility (visible/invisible) is automatically determined according to the type of a chart element; True - to show the border within a chart element; False - a border is hidden.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
Use the Visibility property to show or hide the border within a chart element.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Visibility property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-charts-show-chart-legend-with-markers-in-separate-control/CS/Form1.cs#L26
fakeChart.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True;
fakeChart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
fakeChart.Padding.All = 0;
winforms-dashboard-custom-items/CS/TutorialsCustomItems/CustomItems/FunnelItemControlProvider.cs#L21
chart.RuntimeHitTesting = true;
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
chart.SeriesSelectionMode = SeriesSelectionMode.Point;
asp-net-web-forms-web-chart-control-create-drill-down-chart/CS/DrillDownChart/WebForm1.aspx.cs#L21
breadcrumbs.Border.Color = Color.LightGray;
breadcrumbs.Border.Visibility = DefaultBoolean.True;
breadcrumbs.DXFont = new DXFont("Tahoma", 12.0F, DXFontStyle.Bold);
chart.RuntimeHitTesting = true;
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
chart.SeriesSelectionMode = SeriesSelectionMode.Point;
winforms-charts-show-chart-legend-with-markers-in-separate-control/VB/Form1.vb#L25
fakeChart.Legend.Visibility = DevExpress.Utils.DefaultBoolean.True
fakeChart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False
fakeChart.Padding.All = 0
winforms-dashboard-custom-items/VB/TutorialsCustomItems/CustomItems/FunnelItemControlProvider.vb#L27
chart.RuntimeHitTesting = True
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False
chart.SeriesSelectionMode = SeriesSelectionMode.Point
asp-net-web-forms-web-chart-control-create-drill-down-chart/VB/DrillDownChart/WebForm1.aspx.vb#L22
breadcrumbs.Border.Color = Color.LightGray
breadcrumbs.Border.Visibility = DefaultBoolean.True
breadcrumbs.DXFont = New DXFont("Tahoma", 12.0F, DXFontStyle.Bold)
chart.RuntimeHitTesting = True
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False
chart.SeriesSelectionMode = SeriesSelectionMode.Point
See Also