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: http://i58.tinypic.com/243lr89.jpg

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> 

how disable aero snap in application?


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -