ArcObjects Library Reference  (SystemUI)    

ICommand.Tooltip Property

The tooltip for this command.

[Visual Basic 6.0]
Property Tooltip As String
[Visual Basic .NET]
Public ReadOnly Property Tooltip As String
[C#]
public string Tooltip {get;}
[Java]
public  getTooltip (
    String Tooltip
)
[C++]
HRESULT get_Tooltip(
  BSTR* Tooltip
);
[C++]

Parameters

Tooltip [out, retval]

  Tooltip is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

When implementing ICommand to create a custom command, use the ToolTip property to set the string that appears in the screen tip when the mouse hovers over the command.

[Visual Basic 6.0]
 Private Property Get ICommand_Tooltip() As String 
   ICommand_Tooltip = "MyTool"
 End Property 

See Also

ICommand Interface

Example

ICommand Example

 


Feedback Send feedback on this page