Back to Devexpress

CrosshairFreePosition.DockCorner Property

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

latest3.1 KB
Original Source

CrosshairFreePosition.DockCorner Property

Specifies the corner of the crosshair label’s parent element to which the crosshair label is anchored.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

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

Property Value

TypeDescription
DockCorner

A DockCorner enumeration value that represents the dock corner of the crosshair label’s parent element.

|

Available values:

NameDescription
TopRight

A crosshair label is positioned on the top right of a container object (specified via the CrosshairFreePosition.DockTarget property). For example, the image below demonstrates a crosshair label docked to the top right of a chart.

| | TopLeft |

A crosshair label is positioned on the top left of a container object (specified via the CrosshairFreePosition.DockTarget property). For example, the image below demonstrates a crosshair label docked to the top left of a chart.

| | BottomRight |

A crosshair label is positioned on the bottom right of a container object (specified via the CrosshairFreePosition.DockTarget property). For example, the image below demonstrates a crosshair label docked to the bottom right of a chart.

| | BottomLeft |

A crosshair label is positioned on the bottom left of a container object (specified via the CrosshairFreePosition.DockTarget property). For example, the image below demonstrates a crosshair label docked to the bottom left of a chart.

|

Remarks

Use the DockCorner and CrosshairFreePosition.DockTarget properties to position a crosshair label within its parent element, if the CrosshairOptionsBase.CommonLabelPosition property is set to CrosshairFreePosition.

See Also

CrosshairFreePosition Class

CrosshairFreePosition Members

DevExpress.Xpf.Charts Namespace