{"action":"created","issue":{"url":"https://api.github.com/repos/Templarian/WindowsIcons/issues/209","labels_url":"https://api.github.com/repos/Templarian/WindowsIcons/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/Templarian/WindowsIcons/issues/209/comments","events_url":"https://api.github.com/repos/Templarian/WindowsIcons/issues/209/events","html_url":"https://github.com/Templarian/WindowsIcons/issues/209","id":59075323,"number":209,"title":"How to use XAML icons in Windows Store/Universal App.","user":{"login":"grokys","id":1775141,"avatar_url":"https://avatars.githubusercontent.com/u/1775141?v=3","gravatar_id":"","url":"https://api.github.com/users/grokys","html_url":"https://github.com/grokys","followers_url":"https://api.github.com/users/grokys/followers","following_url":"https://api.github.com/users/grokys/following{/other_user}","gists_url":"https://api.github.com/users/grokys/gists{/gist_id}","starred_url":"https://api.github.com/users/grokys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grokys/subscriptions","organizations_url":"https://api.github.com/users/grokys/orgs","repos_url":"https://api.github.com/users/grokys/repos","events_url":"https://api.github.com/users/grokys/events{/privacy}","received_events_url":"https://api.github.com/users/grokys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-26T13:53:36Z","updated_at":"2015-02-26T18:02:41Z","closed_at":"2015-02-26T15:46:40Z","body":"I have been using Templarian icons courtesy of MahApps.Metro for a while, and in WPF the icons are imported using a resource dictionary. Each time you can to use an icon you can either use:\r\n\r\n    <Rectangle>\r\n        <Rectangle.Fill>\r\n            <VisualBrush Visual=\"{StaticResource appbar_add}\" />\r\n        </Rectangle.Fill>\r\n    </Rectangle>\r\n\r\nor \r\n\r\n    <Rectangle Fill=\"Black\">\r\n        <Rectangle.OpacityMask>\r\n            <VisualBrush Visual=\"{StaticResource appbar_add}\" Stretch=\"Fill\" />\r\n        </Rectangle.OpacityMask>\r\n    </Rectangle>\r\n\r\nHowever, neither VisualBrush nor OpacityMask are available to Windows Store/Universal Apps. What is the recommended way to consume the XAML?"},"comment":{"url":"https://api.github.com/repos/Templarian/WindowsIcons/issues/comments/76230510","html_url":"https://github.com/Templarian/WindowsIcons/issues/209#issuecomment-76230510","issue_url":"https://api.github.com/repos/Templarian/WindowsIcons/issues/209","id":76230510,"user":{"login":"Templarian","id":338885,"avatar_url":"https://avatars.githubusercontent.com/u/338885?v=3","gravatar_id":"","url":"https://api.github.com/users/Templarian","html_url":"https://github.com/Templarian","followers_url":"https://api.github.com/users/Templarian/followers","following_url":"https://api.github.com/users/Templarian/following{/other_user}","gists_url":"https://api.github.com/users/Templarian/gists{/gist_id}","starred_url":"https://api.github.com/users/Templarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Templarian/subscriptions","organizations_url":"https://api.github.com/users/Templarian/orgs","repos_url":"https://api.github.com/users/Templarian/repos","events_url":"https://api.github.com/users/Templarian/events{/privacy}","received_events_url":"https://api.github.com/users/Templarian/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T18:02:41Z","updated_at":"2015-02-26T18:02:41Z","body":"That is the way I've done it. I tweeted this out to see if anyone can help provide some more knowledge. "}}