Sets the cue banner for a specified
Namespace: System.Extensions.Windows.FormsAssembly: 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
|
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