Back to Devexpress

PaneTitle.Visibility Property

corelibraries-devexpress-dot-xtracharts-dot-panetitle.md

latest3.4 KB
Original Source

PaneTitle.Visibility Property

Gets or sets the value that specifies the pane title’s visibility.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DefaultBoolean Visibility { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property Visibility As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

The value that defines the title visibility.

|

Available values:

NameDescriptionReturn 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

|

Remarks

The Visibility property can have the following values:

|

Value

|

Description

| | --- | --- | |

Default

|

The Chart Control’s adaptive layout algorithm defines the title’s visibility. This algorithm affects the chart elements’ layout when the ChartControl.AutoLayout is true (the default value).

| |

True

|

The pane title is visible.

| |

False

|

The pane title is hidden.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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-dashboard-display-each-series-in-separate-pane-for-chart-items/CS/MultiPaneExtension/MultiPaneModule.cs#L115

csharp
{
    pane.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
    pane.Title.Text = seriesWithPoints[i].Name;

winforms-dashboard-display-each-series-in-separate-pane-for-chart-items/VB/MultiPaneExtension/MultiPaneModule.vb#L111

vb
If settings.ShowPaneTitles Then
    pane.Title.Visibility = DevExpress.Utils.DefaultBoolean.True
    pane.Title.Text = seriesWithPoints(i).Name

See Also

PaneTitle Class

PaneTitle Members

DevExpress.XtraCharts Namespace