private static void ChangeAllWindowCommandsBrush(this MetroWindow window, Brush brush, Position position) { window.ChangeWindowCommandButtonsBrush(brush, position); if (position == Position.Right || position == Position.Top) { window.WindowButtonCommands.SetValue(Control.ForegroundProperty, brush); } }
private static void ChangeAllWindowCommandsBrush(this MetroWindow window, Brush brush) { window.ChangeWindowCommandButtonsBrush(brush); window.WindowButtonCommands.SetValue(Control.ForegroundProperty, brush); }