Skip to main content

CrosshairFreePosition.DockCorner Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraSerializableProperty]
public DockCorner DockCorner { get; set; }

Property Value

Type Description
DockCorner

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

Available values:

Name Description
LeftTop

The annotation’s shape is docked to the left top corner.

LeftBottom

The annotation’s shape is docked to the left bottom corner.

RightTop

The annotation’s shape is docked to the right top corner.

RightBottom

The annotation’s shape is docked to the right bottom corner.

Remarks

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

See Also