{"action":"created","issue":{"url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2173","labels_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2173/labels{/name}","comments_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2173/comments","events_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2173/events","html_url":"https://github.com/MahApps/MahApps.Metro/issues/2173","id":112796361,"number":2173,"title":"Background color of StatusBar","user":{"login":"thoemmi","id":73690,"avatar_url":"https://avatars.githubusercontent.com/u/73690?v=3","gravatar_id":"","url":"https://api.github.com/users/thoemmi","html_url":"https://github.com/thoemmi","followers_url":"https://api.github.com/users/thoemmi/followers","following_url":"https://api.github.com/users/thoemmi/following{/other_user}","gists_url":"https://api.github.com/users/thoemmi/gists{/gist_id}","starred_url":"https://api.github.com/users/thoemmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoemmi/subscriptions","organizations_url":"https://api.github.com/users/thoemmi/orgs","repos_url":"https://api.github.com/users/thoemmi/repos","events_url":"https://api.github.com/users/thoemmi/events{/privacy}","received_events_url":"https://api.github.com/users/thoemmi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-22T12:53:31Z","updated_at":"2015-10-23T06:55:01Z","closed_at":"2015-10-23T06:55:01Z","body":"Currently the background color of `StatusBar` is fixed (except when [it's disabled](https://github.com/MahApps/MahApps.Metro/blob/master/MahApps.Metro/Styles/Controls.StatusBar.xaml#L84-L89)). However; i prefer it to match the title bar, i.e. when the window is not active, not only the title's background should change, but the status bar's too.\r\n\r\nTo achieve that, I added an additional trigger in my app, which looks like this:\r\n```xml\r\n<StatusBar Grid.Row=\"1\">\r\n  <!-- -->\r\n  <StatusBar.Style>\r\n    <Style TargetType=\"{x:Type StatusBar}\" BasedOn=\"{StaticResource MetroStatusBar}\">\r\n      <Setter Property=\"Background\" Value=\"{DynamicResource WindowTitleColorBrush}\" />\r\n      <Style.Triggers>\r\n        <DataTrigger Binding=\"{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=IsActive}\" Value=\"False\">\r\n          <Setter Property=\"Background\" Value=\"{Binding Path=NonActiveWindowTitleBrush, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:MetroWindow}}}\" />\r\n        </DataTrigger>\r\n      </Style.Triggers>\r\n    </Style>\r\n  </StatusBar.Style>\r\n</StatusBar>\r\n```\r\nHow about adding this to the MahApps style by default?"},"comment":{"url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/comments/150491859","html_url":"https://github.com/MahApps/MahApps.Metro/issues/2173#issuecomment-150491859","issue_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2173","id":150491859,"user":{"login":"thoemmi","id":73690,"avatar_url":"https://avatars.githubusercontent.com/u/73690?v=3","gravatar_id":"","url":"https://api.github.com/users/thoemmi","html_url":"https://github.com/thoemmi","followers_url":"https://api.github.com/users/thoemmi/followers","following_url":"https://api.github.com/users/thoemmi/following{/other_user}","gists_url":"https://api.github.com/users/thoemmi/gists{/gist_id}","starred_url":"https://api.github.com/users/thoemmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoemmi/subscriptions","organizations_url":"https://api.github.com/users/thoemmi/orgs","repos_url":"https://api.github.com/users/thoemmi/repos","events_url":"https://api.github.com/users/thoemmi/events{/privacy}","received_events_url":"https://api.github.com/users/thoemmi/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T06:55:01Z","updated_at":"2015-10-23T06:55:01Z","body":"Since #2174 was merged, I close this issue."}}