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.Visible

Gets or sets a value indicating whether the icon is visible in the Windows System Tray.

[Visual Basic]
Public Property Visible As Boolean
[C#]
public bool Visible {get; set;}
[C++]
public: __property bool get_Visible();
public: __property void set_Visible(bool);
[JScript]
public function get Visible() : Boolean;
public function set Visible(Boolean);

Property Value

true if the icon is visible in the Windows System Tray; otherwise, false. The default value is false.

Remarks

Since the default value is false, in order for the icon to show up in the system tray, Visible must be set to true by the user. By setting this property, the user is prompted to program the rest of the functionality for the icon.

See Also

TrayIcon Class | TrayIcon Members | System.WinForms Namespace