Skip to main content

ToolTipControllerCalcSizeEventArgs(Control, Object, String, String, Size, Point) Constructor

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public ToolTipControllerCalcSizeEventArgs(
    Control control,
    object obj,
    string toolTip,
    string title,
    Size size,
    Point position
)

Parameters

Name Type Description
control Control

An object for which the event is fired. This value is assigned to the ToolTipControllerEventArgsBase.SelectedControl property.

obj Object

An object which identifies the element which the tooltip is displayed for. This value is assigned to the ToolTipControllerEventArgsBase.SelectedObject property.

toolTip String

A String value which specifies the tooltip’s contents. This value is assigned to the ToolTipControllerCalcSizeEventArgs.ToolTip property.

title String

A String value which specifies the tooltip’s title. This value is assigned to the ToolTipControllerCalcSizeEventArgs.Title property.

size Size

A Size structure which specifies the tooltip’s bounds. This value is assigned to the ToolTipControllerCalcSizeEventArgs.Size property.

position Point

A Point structure which specifies the screen coordinates of the top left tooltip corner. This value is assigned to the ToolTipControllerCalcSizeEventArgs.Position property.

See Also