MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.28k stars 2.45k forks source link

Windows Command button color customization : Help Wanted #109

Closed tesla1060 closed 12 years ago

tesla1060 commented 12 years ago

Hi,

I am trying to use a light grey background as my window's title bar, however, the maximization, minimization, and close button for windows command seems always in white/grey color, is there a way that I can use black or other color for window command buttons?

Thanks.

ghost commented 12 years ago

No. Read the documentation. You'll have to customise the WindowsCommand and/or roll your own

tesla1060 commented 12 years ago

Thanks @aeoth, the documentation mentioned disable titlebar, may I know how to do that, I am not sure if titlebar is disabled in MahApps.Metro MetroWindow setting or wpf own Window setting.

ghost commented 12 years ago

Read the documentation, it's right above where I linked to before.

tesla1060 commented 12 years ago

@aeoth Thanks. one more question, is that possible to adjust the glow/shadow around the metro window. Some of the windows in my application, I am trying to remove the glow to make it more eye friendly, so ppl's eyes wont hurt for looking at it for a long time

ghost commented 12 years ago

There is no glow... If you're talking the standard Windows dropshadow that every application has... no.

kishorejangid commented 11 years ago

@tesla1060 Its possible to change the glow around window. One option is to make "WindowStyle" ="None" "AllowsTransparency"="True" in the MetroWindow.xaml other option is you can create your own Custom Window with these properties and dont use Behaviours.