Back to Devexpress

PaneAnchorPoint.AxisYCoordinate Property

wpf-devexpress-dot-xpf-dot-charts-dot-paneanchorpoint-434b6dc0.md

latest3.1 KB
Original Source

PaneAnchorPoint.AxisYCoordinate Property

Specifies the Y-axis coordinate for the annotation PaneAnchorPoint.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public AxisYCoordinate AxisYCoordinate { get; set; }
vb
Public Property AxisYCoordinate As AxisYCoordinate

Property Value

TypeDescription
AxisYCoordinate

An AxisYCoordinate object specifying the annotation anchor point Y-axis coordinate.

|

Remarks

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.

Example

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

xaml
<dxc:Annotation.AnchorPoint>
    <dxc:PaneAnchorPoint Pane="{Binding ElementName=defaultPane}">
        <dxc:PaneAnchorPoint.AxisXCoordinate>
            <dxc:AxisXCoordinate Axis="{Binding ElementName=xAxis}" 
                                 AxisValue="2.85"/>
        </dxc:PaneAnchorPoint.AxisXCoordinate>
        <dxc:PaneAnchorPoint.AxisYCoordinate>
            <dxc:AxisYCoordinate Axis="{Binding ElementName=yAxis}" 
                                 AxisValue="-30"/>
        </dxc:PaneAnchorPoint.AxisYCoordinate>
    </dxc:PaneAnchorPoint>
</dxc:Annotation.AnchorPoint>

See Also

PaneAnchorPoint Class

PaneAnchorPoint Members

DevExpress.Xpf.Charts Namespace