I have a window with a WindowChrome object and a UserControl full of buttons
<WindowChrome.WindowChrome>
<WindowChrome GlassFrameThickness="0,0,0,1" ResizeBorderThickness="2,0,2,2" />
</WindowChrome.WindowChrome>
<Objects:WindowButtons x:Name="WinButtons" Grid.Column="5" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,0,0" Grid.ColumnSpan="2"/>
I want to have a nice unbordered window while maintaining ease of controlling the size.
How can I place the buttons above the resize dialog?
It sounds like you simply need to add this property to your button:
WindowChrome.IsHitTestVisibleInChrome="True"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With