A newer version of this page is available. Switch to the current version.

ToolTipControllerShowEventArgs(Control, Object, String, String, ToolTipLocation, Boolean, Boolean, Int32, ToolTipStyle, ToolTipIconType, ToolTipIconSize, Object, Int32, AppearanceObject, AppearanceObject) Constructor

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

public ToolTipControllerShowEventArgs(
    Control control,
    object obj,
    string toolTip,
    string title,
    ToolTipLocation toolTipLocation,
    bool showBeak,
    bool rounded,
    int roundRadius,
    ToolTipStyle style,
    ToolTipIconType iconType,
    ToolTipIconSize iconSize,
    object imageList,
    int imageIndex,
    AppearanceObject appearance,
    AppearanceObject appearanceTitle
)

Parameters

Name Type Description
control Control

The object to initialize the ToolTipControllerEventArgsBase.SelectedControl property.

obj Object

The object to initialize the ToolTipControllerEventArgsBase.SelectedObject property.

toolTip String

A String value that specifies the tooltip's text. This value is assigned to the ToolTipControllerShowEventArgs.ToolTip property.

title String

A String value that specifies the tooltip's title. This value is assigned to the ToolTipControllerShowEventArgs.Title property.

toolTipLocation ToolTipLocation

A ToolTipLocation value that specifies the relative position of the tooltip window. This value is assigned to the ToolTipControllerShowEventArgs.ToolTipLocation property.

showBeak Boolean

true if the callout beak is displayed when a hint appears; otherwise, false. This value is assigned to the ToolTipControllerShowEventArgs.ShowBeak property.

rounded Boolean

true if tooltip window's corners are rounded; otherwise, false. This value is assigned to the ToolTipControllerShowEventArgs.Rounded property.

roundRadius Int32

The radius of the rounded corners. This value is assigned to the ToolTipControllerShowEventArgs.RoundRadius property.

style ToolTipStyle

The regular tooltip's style, which controls the look-and-feel settings. This value is assigned to the ToolTipControllerShowEventArgs.ToolTipStyle property.

iconType ToolTipIconType

A ToolTipIconType value that specifies the kind of the predefined icon. This value is assigned to the ToolTipControllerShowEventArgs.IconType property.

iconSize ToolTipIconSize

A ToolTipIconSize value that specifies the icon's size. This value is assigned to the ToolTipControllerShowEventArgs.IconSize property.

imageList Object

An object that is the source of the images that can be displayed within tooltips. This value is assigned to the ToolTipControllerShowEventArgs.ImageList property.

imageIndex Int32

The index of the image to display in the tooltip. This value is assigned to the ToolTipControllerShowEventArgs.ImageIndex property.

appearance AppearanceObject

An AppearanceObject object that provides the tooltip's appearance settings. This value is assigned to the ToolTipControllerShowEventArgs.Appearance property.

appearanceTitle AppearanceObject

An AppearanceObject object that provides the appearance settings used to paint the tooltip's title. This value is assigned to the ToolTipControllerShowEventArgs.AppearanceTitle property.

See Also