Skip to main content

PaneAnchorPoint.Pane Property

Specifies the pane to which the annotation is anchored.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.1.dll

NuGet Package: DevExpress.Wpf.Charts


public object Pane { get; set; }

Property Value

Type Description

A Pane object specifying the pane to which the annotation is anchored.


When the Annotation.AnchorPoint property is specified as PaneAnchorPoint, define a particular pane using the PaneAnchorPoint.Pane property. Use the PaneAnchorPoint.AxisXCoordinate and PaneAnchorPoint.AxisYCoordinate properties to configure the anchor point’s x- and y-coordinates. Then, set the AxisCoordinate.Axis and AxisCoordinate.AxisValue properties for each axis coordinate.


This example shows how to anchor an annotation to a pane.

  • Specify the PaneAnchorPoint.Pane property to define a pane to which the annotation should be anchored.
  • Define the axes and their values to specify the annotation’s anchor point. To do this, use the PaneAnchorPoint.AxisXCoordinate and PaneAnchorPoint.AxisYCoordinate properties.

    If the PaneAnchorPoint.Pane and AxisCoordinate.Axis properties are unspecified, the default pane and primary axes are used to display the annotation. You can leave the Pane and Axis properties undefined if you plot the annotation on the default pane with primary axes.

View Example

    <dxc:PaneAnchorPoint Pane="{Binding ElementName=defaultPane}">
            <dxc:AxisXCoordinate Axis="{Binding ElementName=xAxis}" 
            <dxc:AxisYCoordinate Axis="{Binding ElementName=yAxis}" 

The following code snippets (auto-collected from DevExpress Examples) contain references to the Pane property.


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