[]
Retrieves the C1SuperTooltip text associated with the specified control.
public string GetToolTip(Control control)
Public Function GetToolTip(control As Control) As String
| Type | Name | Description |
|---|---|---|
| Control | control | The Control for which to retrieve the tooltip text. |
| Type | Description |
|---|---|
| string | The tooltip text for the specified control. |
This method enables you to retrieve the tooltip text for any control. If the tooltip text changes dynamically in an application, you can use this method to find out what text is displayed at any point, depending on the state of the application. To change the text that a control is displaying, use the SetToolTip(Control, string) method.
Retrieves the C1SuperTooltip text associated with the specified ToolStripItem component.
public string GetToolTip(ToolStripItem item)
Public Function GetToolTip(item As ToolStripItem) As String
| Type | Name | Description |
|---|---|---|
| ToolStripItem | item | The ToolStripItem for which to retrieve the tooltip text. |
| Type | Description |
|---|---|
| string | The tooltip text for the specified ToolStripItem component. |