FormControl.toolTip Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the tooltip text for the control.
public:
virtual System::String ^ toolTip();
public virtual string toolTip ();
abstract member toolTip : unit -> string
override this.toolTip : unit -> string
Public Overridable Function toolTip () As String
Returns
The tooltip text for the control; an empty string if no tooltip text has been defined for the control.
Remarks
The method might be overridden to provide a value to the toolTip method.
The following example shows how to override the toolTip method.
str toolTip()
{
return "Account numbers of customers eligible for discount";
}