ToolTipPosition.Offset Property

Gets or sets the tooltip offset on a diagram.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll


public Point Offset { get; set; }
Public Property Offset As Point

Property Value

Type Description

A Point structure that is the tooltip offset.


Use the Offset property to specify the tooltip label offset for either the ToolTipMousePosition, ToolTipRelativePosition or ToolTipFreePosition object.

The following images demonstrate how the Offset property works when using the ToolTipRelativePosition object.

Offset = (10, 10) Offset = (20,-20)
ToolTipFreePosition - Offset (10, 10) ToolTipFreePosition - Offset (20,-20)

Note that the Offset property affects a tooltip label's position when the ChartToolTipController.ShowBeak property is disabled. Use the ChartControl.ToolTipController property to access the chart tooltip controller's settings.

See Also