Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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