Skip to main content

Pane Class

An individual pane within a chart control.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

[TemplatePart(Name = "PART_ConstantLinesInFront", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_ConstantLinesBehind", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_Series", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_Indicators", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_Domain", Type = typeof(DomainPanel))]
[TemplatePart(Name = "PART_IndicatorLabels", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_ConstantLineTitles", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_DomainBorder", Type = typeof(Border))]
[TemplatePart(Name = "PART_Pseudo3DSeries", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_Mirror", Type = typeof(ChartMirrorControl))]
[TemplatePart(Name = "PART_Pseudo3DMirror", Type = typeof(ChartMirrorControl))]
[TemplatePart(Name = "PART_DomainBackground", Type = typeof(Border))]
[TemplatePart(Name = "PART_InterlaceControls", Type = typeof(ItemsControl))]
[TemplatePart(Name = "PART_Strips", Type = typeof(StripsItemsControl))]
[TemplatePart(Name = "PART_GridLines", Type = typeof(ItemsControl))]
public class Pane :
    ChartElement,
    IZoomablePane,
    IPane,
    IWeakEventListener,
    IDockTarget,
    IInteractiveElement

#Remarks

The Pane class contains settings that define the appearance and functionality of particular panes.

Axis and series are associated with a particular pane contained within the PaneCollection, returned by the XYDiagram2D.Panes property.

#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