c# - disable maximize capacity in a wpf window -
i'm trying disable maximize capacity (not maximize button) in wpf window, far nothing has succeded.
i'm using window windowstyle="none", when drag window far top of screen, os "maximizes" window (terribly bad, way).
i uploaded 3 pictures show happening exactly.
(however, due fact don't have 10 reputation, have post links instead. sorry that. , can't put 3 links, 2 of them, first 1 of window working normally)
during:
after: http://i62.tinypic.com/f3c1mu.jpg http://i62.tinypic.com/f3c1mu.jpg
set maxheight,minheight , maxwidth,minwidth property window.
example
<window x:class="test.mainwindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" title="mainwindow" maxheight="350" maxwidth="525" minheight="350" minwidth="525"> </window>
Comments
Post a Comment