Description
The Tooltip
property of the Editor.GraphicsItem
class is a string that provides a brief description or additional information about the graphics item. This property is marked as obsolete, and it is recommended to use the ToolTip
property instead.
Usage
To set or retrieve the tooltip for a graphics item, use the ToolTip
property instead of Tooltip
as the latter is obsolete. The tooltip is typically used to display a small pop-up text when the user hovers over the graphics item in the editor.
Example
// Example of setting a tooltip for a GraphicsItem
GraphicsItem item = new GraphicsItem();
item.ToolTip = "This is a tooltip for the graphics item.";