Windows Phone Developers

Showing posts with label Disable/Enable Maximize Button on Windows Forms using C#. Show all posts
Showing posts with label Disable/Enable Maximize Button on Windows Forms using C#. Show all posts

Wednesday, January 7, 2009

How to Disable Maximize Button on Windows Forms using C#

Disable/Enable Maximize Box on Windows Forms


A Maximize button enables users to enlarge a window to full-screen size. To display a Maximize button, you must also set the form's FormBorderStyle property to FormBorderStyle.FixedSingle, FormBorderStyle.Sizable, FormBorderStyle.Fixed3D, or FormBorderStyle.FixedDialog.


A Maximize button automatically becomes a restore button when a window is maximized. Minimizing or restoring a window automatically changes the restore button back to a Maximize button.


To disable Maximize button


this.MaximizeBox = false;





Windows form Maximize Box

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon