{"id":454,"date":"2013-04-29T16:18:26","date_gmt":"2013-04-29T05:18:26","guid":{"rendered":"http:\/\/blog.quppa.net\/?p=454"},"modified":"2013-04-29T16:18:26","modified_gmt":"2013-04-29T05:18:26","slug":"toolkit-contextmen","status":"publish","type":"post","link":"https:\/\/www.quppa.net\/blog\/2013\/04\/29\/toolkit-contextmen\/","title":{"rendered":"Short: The Windows Phone Toolkit ContextMenu control&#039;s Foreground property does nothing"},"content":{"rendered":"<p>While the ContextMenu <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms609826.aspx\" title=\"MSDN: System.Windows.Control\">control<\/a> in the <a href=\"http:\/\/phone.codeplex.com\/\" title=\"The Windows Phone Toolkit\">Windows Phone Toolkit<\/a> has a Foreground property, setting it has no effect, as it&#8217;s not used in the default control template (unlike the Background and BorderBrush properties, which work as expected). To change the text colour in a ContextMenu, set the Foreground property of MenuItems individually.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While the ContextMenu control in the Windows Phone Toolkit has a Foreground property, setting it has no effect, as it&#8217;s not used in the default control template (unlike the Background and BorderBrush properties, which work as expected). To change the text colour in a ContextMenu, set the Foreground property of MenuItems individually.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[40,131,151,177,182,183],"class_list":["post-454","post","type-post","status-publish","format-standard","hentry","category-programming","tag-contextmenu","tag-silverlight","tag-toolkit","tag-windows-phone","tag-wp7","tag-wp8"],"_links":{"self":[{"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/posts\/454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/comments?post=454"}],"version-history":[{"count":0,"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/posts\/454\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/media?parent=454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/categories?post=454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quppa.net\/blog\/wp-json\/wp\/v2\/tags?post=454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}