Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolTipFreePosition.DockCorner Property

Specifies the corner of the tooltip’s parent element, to which the tooltip is anchored.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public DockCorner DockCorner { get; set; }

#Property Value

Type Description
DockCorner

A DockCorner enumeration object that represent’s the dock corner of the tooltip’s parent element.

Available values:

Name Description
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.

DockCorner  - TopRight

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.

DockCorner  - TopLeft

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.

DockCorner  - BottomRight

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.

DockCorner  - BottomLeft

#Remarks

Use the DockCorner and ToolTipFreePosition.DockTarget properties to position a tooltip within its parent element, if the ToolTipOptions.ToolTipPosition property is set to ToolTipFreePosition.

See Also