Back to Devexpress

ToolTipPosition.Offset Property

wpf-devexpress-dot-xpf-dot-charts-dot-tooltipposition.md

latest2.1 KB
Original Source

ToolTipPosition.Offset Property

Gets or sets the tooltip offset on a diagram.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

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

Property Value

TypeDescription
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)

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

ToolTipPosition Class

ToolTipPosition Members

DevExpress.Xpf.Charts Namespace