Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Center of ChildWindow With Margins set

$
0
0
'ello

The ChildWindow does not seem to respect margins when calculating the centering. I would like to place the control, so that the modal background does not obscure my ribbon, but still be in the centre of the screen if I place it underneath the ribbon it gets displayed slightly to the bottom (obviously because it excludes the ribbon height in its calculations). If I place it above the ribbon (Fluent), the modal background obscures it in an ugly way. Then if you give it a margin to exclude the ribbon, it places the dialog way down at the bottom.

Thanx, I really would prefer not to hack your code :)

Cheerz
Hein

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>