corelibraries-devexpress-dot-xtracharts-dot-panetitle.md
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
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DefaultBoolean Visibility { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property Visibility As DefaultBoolean
| Type | Description |
|---|---|
| DefaultBoolean |
The value that defines the title visibility.
|
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
|
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.
{
pane.Title.Visibility = DevExpress.Utils.DefaultBoolean.True;
pane.Title.Text = seriesWithPoints[i].Name;
If settings.ShowPaneTitles Then
pane.Title.Visibility = DevExpress.Utils.DefaultBoolean.True
pane.Title.Text = seriesWithPoints(i).Name
See Also