This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IC > ICommandItem Interface > ICommandItem.Tooltip Property (ArcObjects .NET 10.4 SDK) |
The tooltip for this command item.
[Visual Basic .NET] Public Property Tooltip As String
[C#] public string Tooltip {get; set;}
Tooltip is a string that appears in the screen tip when the mouse hovers over the command item.
You can modify Tooltip for VBA macro items but not built-in commands and UIControls. Setting this property for a built-in command or UIControls will return "This method cannot be called on built in commands" run-time error.