Skip to main content

ToolTipPosition.Offset Property

Gets or sets the tooltip offset on a diagram.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public Point Offset { get; set; }

Property Value

Type Description
Point

A Point structure that is the tooltip offset.

Remarks

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