{"id":690,"date":"2017-01-25T13:28:28","date_gmt":"2017-01-25T13:28:28","guid":{"rendered":"https:\/\/ibex.tech\/windows-iot\/?p=490"},"modified":"2025-02-25T12:00:01","modified_gmt":"2025-02-25T12:00:01","slug":"text-styles","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/text\/text-styles","title":{"rendered":"Text styles"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">\n\tFonts<br>\n<\/h4>\n\n\n\n<p><a href=\"https:\/\/msdn.microsoft.com\/en-gb\/windows\/uwp\/style\/fonts\">https:\/\/msdn.microsoft.com\/en-gb\/windows\/uwp\/style\/fonts<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">FontWeight<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\ttxtWinnerName.FontWeight = Windows.UI.Text.FontWeights.Bold;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Change style name programatically\u00a0 <\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>MyTextBox.Style = (Style)Application.Current.Resources&#91;\"TextValueSmall1\"];<\/code><\/pre>\n\n\n\n<p>\n\t&nbsp;\n<\/p>\n\n\n\n<p>\n\t&nbsp;\n<\/p>\n\n\n\n<p>\n\t&nbsp;\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fonts https:\/\/msdn.microsoft.com\/en-gb\/windows\/uwp\/style\/fonts FontWeight Change style name programatically\u00a0 &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-690","post","type-post","status-publish","format-standard","hentry","category-text"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=690"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/690\/revisions"}],"predecessor-version":[{"id":1368,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/690\/revisions\/1368"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}