Skip to main content

CrosshairFreePosition.DockTarget Property

Specifies the element (chart or pane), to which the crosshair label’s shape is docked.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[NonTestableProperty]
[TypeConverter(typeof(CrosshairFreePositionDockTargetTypeConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public ChartElement DockTarget { get; set; }

Property Value

Type Description
ChartElement

A ChartElement object representing the dock target for the crosshair label’s shape.

Remarks

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

See Also