Back to Devexpress

RelativePosition.ConnectorLength Property

wpf-devexpress-dot-xpf-dot-charts-dot-relativeposition.md

latest2.1 KB
Original Source

RelativePosition.ConnectorLength Property

Specifies the length of the line connecting the annotation with its anchor point.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public double ConnectorLength { get; set; }
vb
Public Property ConnectorLength As Double

Property Value

TypeDescription
Double

A Double value specifying the annotation connector length.

|

Remarks

When the Annotation.ShapePosition property is specified to RelativePosition, use the RelativePosition.Angle and ConnectorLength properties to define the annotation position relative to its anchor point.

Example

This example demonstrates how to customize the annotation layout when the Annotation.ShapePosition property is specified as the RelativePosition type.

Then, configure the RelativePosition.ConnectorLength and RelativePosition.Angle properties to specify the annotation position.

xaml
<dxc:Annotation.ShapePosition>
    <dxc:RelativePosition Angle="60" 
                          ConnectorLength="50"/>
</dxc:Annotation.ShapePosition>

See Also

RelativePosition Class

RelativePosition Members

DevExpress.Xpf.Charts Namespace