Sets the cue banner for a specified

Namespace: System.Extensions.Windows.Forms
Assembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)

Syntax

C#
public static void SetCueBanner(
	this TextBox textBox,
	string text,
	bool showWhenFocused
)
Visual Basic
<ExtensionAttribute> 
Public Shared Sub SetCueBanner ( 
	textBox As TextBox,
	text As String,
	showWhenFocused As Boolean
)
Visual C++
public:
[ExtensionAttribute]
static void SetCueBanner(
	TextBox^ textBox, 
	String^ text, 
	bool showWhenFocused
)
F#
static member SetCueBanner : 
        textBox : TextBox * 
        text : string * 
        showWhenFocused : bool -> unit 

Parameters

textBox
Type: System.Windows.Forms..::..TextBox
The TextBox control to set.
text
Type: System..::..String
The cue banner text to show.
showWhenFocused
Type: System..::..Boolean
Whether to show the cue banner when the control has focus.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TextBox. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also