{"action":"closed","issue":{"url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2535","repository_url":"https://api.github.com/repos/MahApps/MahApps.Metro","labels_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2535/labels{/name}","comments_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2535/comments","events_url":"https://api.github.com/repos/MahApps/MahApps.Metro/issues/2535/events","html_url":"https://github.com/MahApps/MahApps.Metro/issues/2535","id":158558190,"number":2535,"title":"Setting Global Style makes control not get theme","user":{"login":"Memphizzz","id":4660924,"avatar_url":"https://avatars.githubusercontent.com/u/4660924?v=3","gravatar_id":"","url":"https://api.github.com/users/Memphizzz","html_url":"https://github.com/Memphizzz","followers_url":"https://api.github.com/users/Memphizzz/followers","following_url":"https://api.github.com/users/Memphizzz/following{/other_user}","gists_url":"https://api.github.com/users/Memphizzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Memphizzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Memphizzz/subscriptions","organizations_url":"https://api.github.com/users/Memphizzz/orgs","repos_url":"https://api.github.com/users/Memphizzz/repos","events_url":"https://api.github.com/users/Memphizzz/events{/privacy}","received_events_url":"https://api.github.com/users/Memphizzz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-05T14:56:35Z","updated_at":"2016-06-06T22:42:27Z","closed_at":"2016-06-06T22:42:27Z","body":"## What steps will reproduce this issue?\r\n\r\nIf I set something like this in App.xaml: \r\n\r\n```\r\n            <Style TargetType=\"ScrollBar\" BasedOn=\"{StaticResource {x:Type ScrollBar}}\">\r\n                <Style.Triggers>\r\n                    <Trigger Property=\"Orientation\" Value=\"Horizontal\">\r\n                        <Setter Property=\"Height\" Value=\"30\"/>\r\n                    </Trigger>\r\n                    <Trigger Property=\"Orientation\" Value=\"Vertical\">\r\n                        <Setter Property=\"Width\" Value=\"30\"/>\r\n                    </Trigger>\r\n                </Style.Triggers>\r\n            </Style>\r\n\r\n```\r\n### Expected outcome\r\n\r\nI would expect the control to still use the MahApps.Metro theme applied as its using \"BasedOn\" but unfortunately its not themed, its back to its default colors. If I set that Style in the ScrollViewer.Resources of an existing ScrollViewer it works fine. But I would like to have this Application Wide.\r\n\r\n--\r\n### Environment\r\n\r\n- MahApps.Metro __v1.2.4__\r\n- Windows __10__\r\n- Visual Studio __2015__\r\n- .NET Framework __4.5__"}}
{"actor":{"display_login":"Memphizzz"}}