Skip to main content
A newer version of this page is available.
All docs
V18.2

LegendModel.Visibility Property

Gets or sets the value of the Legend.Visibility within the model.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v18.2.Wizard.dll

Declaration

[PropertyForOptions]
[LocalizableCategory(DesignerCategories.Appearance)]
public DefaultBoolean Visibility { get; set; }

Property Value

Type Description
DefaultBoolean

Default

The legend visibility is defined according to the adaptive layout algorithm when the chart is resized.

True

The legend is always visible.

False

The legend is always hidden.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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.

See Also