{"id":76,"date":"2022-01-05T21:26:48","date_gmt":"2022-01-05T13:26:48","guid":{"rendered":"https:\/\/www.helloalong.xyz\/?p=76"},"modified":"2022-01-05T21:26:48","modified_gmt":"2022-01-05T13:26:48","slug":"wpf%e7%95%8c%e9%9d%a2%e7%9a%84grid%e5%b8%83%e5%b1%80%e7%bb%83%e4%b9%a0","status":"publish","type":"post","link":"https:\/\/www.alonya.cn\/?p=76","title":{"rendered":"WPF\u754c\u9762\u7684Grid\u5e03\u5c40\u7ec3\u4e60"},"content":{"rendered":"<h3>xaml\u4ee3\u7801<\/h3>\n<pre><code class=\"language-xaml\">\n    &lt;Grid&gt;\n        &lt;ListView&gt;\n            &lt;ListViewItem HorizontalContentAlignment=&quot;Stretch&quot;&gt;\n                &lt;Grid&gt;\n                    &lt;Grid.ColumnDefinitions&gt;\n                        &lt;ColumnDefinition Width=&quot;auto&quot;\/&gt;\n                        &lt;ColumnDefinition Width=&quot;auto&quot;\/&gt;\n                        &lt;ColumnDefinition Width=&quot;*&quot;\/&gt;\n                    &lt;\/Grid.ColumnDefinitions&gt;\n                    &lt;Grid.RowDefinitions&gt;\n                        &lt;RowDefinition Height=&quot;*&quot;\/&gt;\n                        &lt;RowDefinition Height=&quot;*&quot;\/&gt;\n                        &lt;RowDefinition Height=&quot;*&quot;\/&gt;\n                    &lt;\/Grid.RowDefinitions&gt;\n                    &lt;Image Source=&quot;\/images\/icon.png&quot; Grid.RowSpan=&quot;3&quot; Width=&quot;80&quot; HorizontalAlignment=&quot;Right&quot;\/&gt;\n                    &lt;Label Content=&quot;\u6d4b\u8bd5\u529f\u80fd&quot; Grid.Column=&quot;1&quot; FontSize=&quot;20&quot;\/&gt;\n                    &lt;Label Content=&quot;\u529f\u80fd\u63cf\u8ff0&quot; Grid.Column=&quot;1&quot; FontSize=&quot;15&quot; Grid.Row=&quot;1&quot;\/&gt;\n                    &lt;Label Content=&quot;\u7248\u672c&quot; Grid.Column=&quot;1&quot; FontSize=&quot;12&quot; Grid.Row=&quot;2&quot;\/&gt;\n                    &lt;TextBlock Grid.Column=&quot;2&quot; HorizontalAlignment=&quot;Right&quot; VerticalAlignment=&quot;Center&quot;&gt;\n                        &lt;Hyperlink NavigateUri=&quot;https:\/\/www.helloalong.xyz&quot; Click=&quot;Hyperlink_Click&quot;&gt;\u4f5c\u8005\u4e3b\u9875&lt;\/Hyperlink&gt;\n                    &lt;\/TextBlock&gt;\n                &lt;\/Grid&gt;\n            &lt;\/ListViewItem&gt;\n        &lt;\/ListView&gt;\n    &lt;\/Grid&gt;\n<\/code><\/pre>\n<p>ps \u6b64\u4ee3\u7801\u65e0\u610f\u4e49\uff0c\u4ec5\u505a\u8bb0\u5f55\u7528<\/p>\n","protected":false},"excerpt":{"rendered":"<p>xaml\u4ee3\u7801 &lt;Grid&gt; &lt;ListView&gt; &lt;ListViewItem H [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.alonya.cn\/index.php?rest_route=\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alonya.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alonya.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alonya.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alonya.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=76"}],"version-history":[{"count":4,"href":"https:\/\/www.alonya.cn\/index.php?rest_route=\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/www.alonya.cn\/index.php?rest_route=\/wp\/v2\/posts\/76\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/www.alonya.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alonya.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alonya.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}