NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TrayIcon.Text

Gets or sets the ToolTip text displayed when the mouse hovers over a system tray icon.

[Visual Basic]
Public Property Text As String
[C#]
public string Text {get; set;}
[C++]
public: __property String* get_Text();
public: __property void set_Text(String*);
[JScript]
public function get Text() : String;
public function set Text(String);

Property Value

The ToolTip text displayed when the mouse hovers over a system tray icon.

Exceptions

Exception Type Condition
ArgumentException The ToolTip text is longer that 64 characters.

Remarks

If the text is a null reference (in Visual Basic Nothing), no ToolTip is displayed.

See Also

TrayIcon Class | TrayIcon Members | System.WinForms Namespace