Skip to main content

Axis2D.VisibilityInPanes Property

Returns a collection of panes in which the axis visibility on a pane can be specified.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public VisibilityInPaneCollection VisibilityInPanes { get; }

#Property Value

Type Description
VisibilityInPaneCollection

A VisibilityInPaneCollection object.

#Remarks

Use this property to specify in which panes an axis should be visible.

#Examples

The following sample demonstrates how to show (hide) an axis for a particular pane of the XYDiagram2D object.

To accomplish this task for a specific Axis2D object, it is necessary to add the VisibilityInPane instance to the collection returned by the Axis2D.VisibilityInPanes property.

Then, bind its VisibilityInPane.Pane property to a particular pane (in which you want to show or hide this axis) and set the VisibilityInPane.Visible property to True or False, as appropriate.

See Also