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

ContextItem.ToolTip Property

Gets or sets the text of the hint for the current item.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[DXCategory("ToolTip")]
[DefaultValue("")]
public virtual string ToolTip { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the text of the hint for the current item.

Remarks

The hint for the current context item can be displayed when it is hovered over with the mouse cursor (see ContextItem.ShowToolTips). The ToolTip property specifies the text of the hint. You can also specify the hint title, using the ContextItem.ToolTipTitle property. The type of icon to be displayed in the hint can be specified using the ContextItem.ToolTipIconType property.

You can also assign a SuperToolTip object to the current item. For this purpose, use the ContextItem.SuperTip property.

For the RatingContextButton objects, the ContextItem descendants, you can provide a custom regular tooltip for each rating point when handling the ContextItem.CustomToolTip event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToolTip property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also