Gets or sets a value indicating whether the form is visible.
[Visual Basic] Overridable Public Property Visible As Boolean [C#] public bool Visible {override get; override set;} [C++] public: __property virtual bool get_Visible(); public: __property virtual void set_Visible(bool); [JScript] public function get Visible() : Boolean; public function set Visible(Boolean);
true to make the form visible; otherwise false. The default is true.
Forms that are hidden from view can still receive events. For example, if a form is hidden that contains a TextBox control, which has an event handler for the System.WinForms.TextBoxBase.TextChanged event, changes made to the TextBox control's contents will cause the System.WinForms.TextBoxBase.TextChanged event to be raised and a call made to its event handling method.