Skip to main content

ToolTipControllerGetActiveObjectInfoEventArgs(Control, Object, ToolTipControlInfo, Point) Constructor

Initializes a new instance of the ToolTipControllerGetActiveObjectInfoEventArgs class with the specified settings.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public ToolTipControllerGetActiveObjectInfoEventArgs(
    Control control,
    object obj,
    ToolTipControlInfo info,
    Point controlMousePosition
)

Parameters

Name Type Description
control Control

The control for which a tooltip controller’s event is fired. This value is assigned to the ToolTipControllerEventArgsBase.SelectedControl property.

obj Object

The element of the control (or the type of the element) for which the tooltip is displayed. This value is assigned to the ToolTipControllerEventArgsBase.SelectedObject property.

info ToolTipControlInfo

An object which uniquely identifies the current element for which the tooltip is displayed. This value is assigned to the ToolTipControllerGetActiveObjectInfoEventArgs.Info property.

controlMousePosition Point

A Point structure that specifies the position of the mouse cursor relative to the control’s upper left corner. This value is assigned to the ToolTipControllerGetActiveObjectInfoEventArgs.ControlMousePosition property.

Remarks

Generally there is no need to call this constructor directly from your code.

See Also