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);
true if the icon is visible in the Windows System Tray; otherwise, false. The default value is false.
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.
TrayIcon Class | TrayIcon Members | System.WinForms Namespace