Disable the Maximize button in WPF
-
Hi, Please do let me know about how to disable the maximize button in a WPF application. Thanks in Advance, Ashwath.
-
Hi, Please do let me know about how to disable the maximize button in a WPF application. Thanks in Advance, Ashwath.
Surely there's a MaximizeButton property on the form, just like there is in winforms ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi, Please do let me know about how to disable the maximize button in a WPF application. Thanks in Advance, Ashwath.
Assuming you are referring to the Window class... Disabling the Maximize button in WPF[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Assuming you are referring to the Window class... Disabling the Maximize button in WPF[^]
Mark Salsbery Microsoft MVP - Visual C++ :java:
Wow - that's not insane at all.......
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Wow - that's not insane at all.......
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Yeah gotta wonder why it was left out. But who wants to use the OS windows in WPF anyway :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Yeah gotta wonder why it was left out. But who wants to use the OS windows in WPF anyway :)
Mark Salsbery Microsoft MVP - Visual C++ :java:
True - we always generate a fake title bar so we can style it. Another weird oversight, IMO.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Hi, Please do let me know about how to disable the maximize button in a WPF application. Thanks in Advance, Ashwath.
-
Hi, Please do let me know about how to disable the maximize button in a WPF application. Thanks in Advance, Ashwath.
I haven't written a post on my blog on disabling both the minimize and maximize button on a WPF window through attached properties in XAML-markup. In the future I will implement disabling the icon as well. For disabling the close button, I see no need for this and believe this to be bad design; therefore it will be unlikely that I will ever implement this functionality unless specifically requested. http://thrash505.wordpress.com/2010/04/19/wpf-window-disable-minimize-and-maximize-buttons-through-attached-properties-from-xaml/