From 5a27f20a841a573ccd2fcde41cf7af970a7b5f76 Mon Sep 17 00:00:00 2001 From: crumbl3d Date: Sun, 18 Oct 2015 23:38:58 +0200 Subject: [PATCH] Hide WindowCommandsItem if content is invisible --- MahApps.Metro/Themes/WindowButtonCommands.xaml | 3 +-- MahApps.Metro/Themes/WindowCommands.xaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/MahApps.Metro/Themes/WindowButtonCommands.xaml b/MahApps.Metro/Themes/WindowButtonCommands.xaml index 1957869035..bda929ca48 100644 --- a/MahApps.Metro/Themes/WindowButtonCommands.xaml +++ b/MahApps.Metro/Themes/WindowButtonCommands.xaml @@ -61,8 +61,7 @@ SnapsToDevicePixels="True" Fill="{Binding Path=Foreground, RelativeSource={RelativeSource AncestorType={x:Type Button}}}" /> - - +