wpf - How to avoid sizing grip overlap in Window -


i made wpf window containing statusbar statusbaritem , progressbar.

the window has property resizemode set canresizewithgrip.

it shows sizing grip properly, overlaps elements underneath:

enter image description here

how can avoid overlap? can set right margin progress bar, how large? don't want use magic numbers or hardcoded values. nice have resolved purely in xaml.

you can change style "window" considering wishes. http://msdn.microsoft.com/en-us/library/aa969824(v=vs.110).aspx or https://stackoverflow.com/a/8278917/3492412

or can this

<statusbar verticalalignment="bottom">         <statusbaritem x:name="statusbar" background="gray"  horizontalcontentalignment="stretch">             <dockpanel>                 <resizegrip dockpanel.dock="right" visibility="hidden" />                 <progressbar background="red" height="20"  value="50" />             </dockpanel>         </statusbaritem>     </statusbar> 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -