public static void ResetAllWindowCommandsBrush(this MetroWindow window)
 {
     window.ChangeAllWindowCommandsBrush(window.OverrideDefaultWindowCommandsBrush);
     window.ChangeAllWindowButtonCommandsBrush(window.OverrideDefaultWindowCommandsBrush);
 }
 public static void UpdateWindowCommandsForFlyout(this MetroWindow window, Flyout flyout)
 {
     window.ChangeAllWindowButtonCommandsBrush(flyout.Foreground, flyout.Position);
 }