Skip to main content

ToolTipController.SetToolTipAnchor(Control, ToolTipAnchor) Method

Sets whether the tooltip associated with the specified control is anchored relative to the mouse pointer or the owning control.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void SetToolTipAnchor(
    Control control,
    ToolTipAnchor value
)

Parameters

Name Type Description
control Control

The control from which to set how the tooltip is anchored.

value DevExpress.Utils.ToolTipAnchor

A value that specifies whether the tooltip is anchored relative to the mouse pointer or the owning control.

Remarks

For controls which do not implement the DevExpress.Utils.IToolTipControlClient interface, the SetToolTipAnchor and ToolTipController.GetToolTipAnchor methods allows you to specify how the associated tooltip is anchored.

See Also