BalloonTip.ShowBalloon Method (TextBoxBase, String, String, ToolTipIcon)
Shows the balloon tip of the TextBoxBase class.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Sub ShowBalloon ( _
textBox As TextBoxBase, _
title As String, _
text As String, _
icon As ToolTipIcon _
)
'Usage
Dim textBox As TextBoxBase
Dim title As String
Dim text As String
Dim icon As ToolTipIcon
BalloonTip.ShowBalloon(textBox, title, _
text, icon)
public static void ShowBalloon(
TextBoxBase textBox,
string title,
string text,
ToolTipIcon icon
)
public:
static void ShowBalloon(
TextBoxBase^ textBox,
String^ title,
String^ text,
ToolTipIcon icon
)
static member ShowBalloon :
textBox:TextBoxBase *
title:string *
text:string *
icon:ToolTipIcon -> unit
public static function ShowBalloon(
textBox : TextBoxBase,
title : String,
text : String,
icon : ToolTipIcon
)
Parameters
- textBox
Type: System.Windows.Forms.TextBoxBase
A TextBoxBase where the balloon tip of the control will be shown.
- title
Type: System.String
A string that will be displayed as the title of the balloon tip.
- text
Type: System.String
A string that will be displayed as the content of the balloon tip.
- icon
Type: System.Windows.Forms.ToolTipIcon
A ToolTip that defines the type of icon to be displayed.