{"id":65,"date":"2008-07-15T00:50:19","date_gmt":"2008-07-15T00:50:19","guid":{"rendered":"http:\/\/tw.newtonstudio.com\/?p=65"},"modified":"2008-07-15T00:50:19","modified_gmt":"2008-07-15T00:50:19","slug":"silverlight2-textblock%e7%9a%84%e5%b1%ac%e6%80%a7","status":"publish","type":"post","link":"http:\/\/tw.newtonstudio.com\/?p=65","title":{"rendered":"[SilverLight2] TextBlock\u7684\u5c6c\u6027"},"content":{"rendered":"<p>SilverLight\u7684Control\u6709\u5f88\u591a, \u4ee5\u5f8c\u6703\u9010\u4e00\u4ecb\u7d39\u5176\u7528\u6cd5, \u9996\u5148\u4ecb\u7d39TextBlock\u7684\u5c6c\u6027:<\/p>\n<blockquote><p>&lt;TextBlock x:Name=&#8221;TestName&#8221; Grid.Row=&#8221;0&#8243; Grid.Column=&#8221;0&#8243; Text=&#8221;Testing Name: &#8221;\u00a0 Margin=&#8221;5&#8243; \/&gt;<\/p><\/blockquote>\n<p>\u61c9\u7528: TextBlock\u7684\u4f7f\u7528\u65b9\u6cd5\u8ddf.NET\u7684Label Control\u5f88\u50cf, \u5c31\u662f\u5c08\u9580\u986f\u793a\u6587\u5b57\u7528\u7684.<\/p>\n<p>\u5c6c\u6027:<\/p>\n<p><strong>Grid.Row<\/strong>, <strong>Grid.Column<\/strong>\u53eb\u505aExtended Properties, \u529f\u80fd\u662f\u5c0d\u9f4a\u9031\u908a\u7684Grid\u683c\u7dda, \u8b93App\u770b\u8d77\u4f86\u8f03\u6574\u9f4a.<br \/>\n<strong>Text<\/strong> \u529f\u80fd\u5c31\u662f\u986f\u793a\u5167\u90e8\u7684\u6587\u5b57.<\/p>\n<p><strong>Margin<\/strong>\u5f88\u6709\u8da3, \u8f38\u5165\u4e0d\u540c\u6578\u76ee\u7684\u503c\u5c31\u6709\u4e0d\u540c\u7684Margin\u6548\u679c.<br \/>\n<strong>Margin<\/strong>=&#8221;5&#8243; : \u8868\u793a \u5de6, \u53f3, \u4e0a, \u4e0b \u90fd\u662f\u7a7a\u51fa5px.<br \/>\n<strong>Margin<\/strong>=&#8221;5,6&#8243; : \u8868\u793a \u5de6\u53f3\u7a7a\u51fa5px, \u4e0a\u4e0b\u7a7a\u51fa6px.<br \/>\n<strong>Margin<\/strong>=&#8221;5,6,7,8&#8243;: \u8868\u793a \u5de65px, \u4e0a6px, \u53f37px, \u4e0b8px.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SilverLight\u7684Control\u6709\u5f88\u591a, \u4ee5\u5f8c\u6703\u9010\u4e00\u4ecb\u7d39\u5176\u7528\u6cd5, \u9996\u5148\u4ecb\u7d39TextBlock\u7684\u5c6c\u6027: &#038; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[45,44],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-silverlight-20","tag-silverlight-20-controls","tag-textblock"],"_links":{"self":[{"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":0,"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tw.newtonstudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}