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

ToolTipControllerShowEventArgs.IconSize Property

Gets the size of the predefined icon to display in the tooltip.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public ToolTipIconSize IconSize { get; set; }

Property Value

Type Description
ToolTipIconSize

A ToolTipIconSize value specifying the icon size.

Available values:

Name Description
Large

An icon displayed within a tooltip is large. The icon type can be selected via the ToolTipController.IconType property or can be specified in a handler of the ToolTipController.BeforeShow event via ToolTipControllerShowEventArgs.IconType property.

Small

An icon displayed within a tooltip is small. The icon type can be selected via the ToolTipController.IconType property or can be specified in a handler of the ToolTipController.BeforeShow event via ToolTipControllerShowEventArgs.IconType property.

Remarks

You can use this property to change the size of the predefined icon. The icon itself is specified by the ToolTipControllerShowEventArgs.IconType property. If the ToolTipControllerShowEventArgs.IconType is ToolTipIconType.None, the icon is not displayed and thus the IconSize property is not in effect.

Note: if the ToolTipControllerShowEventArgs.ImageList property is assigned and ToolTipControllerShowEventArgs.ImageIndex refers to an image from this image list, no predefined icon will be used. Instead the tooltip will display the specified image from ToolTipControllerShowEventArgs.ImageList.

See Also