{"id":1077,"date":"2019-10-28T09:42:09","date_gmt":"2019-10-28T01:42:09","guid":{"rendered":"http:\/\/iqotom.com\/?p=1077"},"modified":"2019-10-28T09:42:11","modified_gmt":"2019-10-28T01:42:11","slug":"wpf-ui%e6%8e%a7%e4%bb%b6%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"http:\/\/iqotom.com\/?p=1077","title":{"rendered":"WPF UI\u63a7\u4ef6\u4ecb\u7ecd"},"content":{"rendered":"\n<p>\u539f\u6587\uff1a <a href=\"https:\/\/blog.csdn.net\/baidu_24565387\/article\/details\/100189767\">https:\/\/blog.csdn.net\/baidu_24565387\/article\/details\/100189767<\/a> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e03\u5c40\u63a7\u4ef6\uff1a\u662f\u4efb\u4f55\u7528\u6237\u754c\u9762\u7684\u57fa\u7840\uff0c\u6392\u5217\u5e94\u7528\u4e2d\u7684 UI \u5143\u7d20\u3002 \u6587\u672c\u3001\u6309\u94ae\u548c\u56fe\u50cf\u7b49\u5143\u7d20\u90fd\u9700\u8981\u89c4\u5b9a\u81ea\u5df1\u4f4d\u7f6e\u548c\u884c\u4e3a\u65b9\u5f0f\uff0c\u6784\u5efa\u57fa\u5757\u79f0\u4e3a\u201c\u63a7\u4ef6\u201d\uff0c\u6709\u65f6\u4ea6\u79f0\u4e3a\u201c\u5143\u7d20\u201d\u3002<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;Window x:Class=\"UsingLayoutsApp.Wpf.MainWindow\"\n        xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"\n        xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"\n        xmlns:d=\"http:\/\/schemas.microsoft.com\/expression\/blend\/2008\"\n        xmlns:mc=\"http:\/\/schemas.openxmlformats.org\/markup-compatibility\/2006\"\n        xmlns:local=\"clr-namespace:UsingLayoutsApp.Wpf\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"450\" Width=\"800\">\n    &lt;Grid>\n    &lt;\/Grid>\n&lt;\/Window><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u7236\u5143\u7d20\u548c\u5b50\u5143\u7d20<\/h2>\n\n\n\n<p> Window \u5143\u7d20\u53ea\u652f\u6301\u5305\u542b\u4e00\u4e2a\u5b50\u5143\u7d20\u3002 Grid \u5143\u7d20\u652f\u6301\u5305\u542b\u6240\u9700\u7684\u4efb\u610f\u591a\u4e2a\u5b50\u5143\u7d20\u3002 Grid \u662f\u7528\u9014\u6700\u5e7f\u6cdb\u7684\u5e03\u5c40\u5143\u7d20\u4e4b\u4e00\u3002 \u5b83\u901a\u5e38\u7528\u4f5c\u5e94\u7528\u9875\u9762\u7684\u4e3b\u5e03\u5c40\u63a7\u4ef6\u3002 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e38\u7528\u63a7\u4ef6<\/h2>\n\n\n\n<ol><li> Grid \u7f51\u683c\u63a7\u4ef6 \u53ef\u5305\u542b\u591a\u4e2a\u5b50\u63a7\u4ef6 <\/li><li> StackPanel \u662f\u5c06\u9879\u5f7c\u6b64\u5806\u53e0\u5728\u4e00\u8d77\u7684\u7b80\u5355\u5e03\u5c40\u63a7\u4ef6\uff0cStackPanel \u7684\u9ed8\u8ba4\u5806\u53e0\u7b56\u7565\u662f\u5782\u76f4 <\/li><li> DockPanel <\/li><li> WrapPanel <\/li><li> TextBlock \u53ea\u8bfb\u6587\u672c\u6846 <\/li><li> DataGrid \u5217\u8868\u6570\u636e\u663e\u793a\u63a7\u4ef6 <\/li><li> ListView(\u53ef\u7528DataGrid\u4ee3\u66ff) <\/li><li> ListBox <\/li><li> GroupBox <\/li><li> MediaElement <\/li><li> Menu <\/li><li> TabControl <\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"534\" height=\"483\" src=\"http:\/\/iqotom.com\/wp-content\/uploads\/2019\/10\/wpf_ui_kj.png\" alt=\"\" class=\"wp-image-1079\" srcset=\"http:\/\/iqotom.com\/wp-content\/uploads\/2019\/10\/wpf_ui_kj.png?v=1585627901 534w, http:\/\/iqotom.com\/wp-content\/uploads\/2019\/10\/wpf_ui_kj-300x271.png?v=1585627901 300w\" sizes=\"(max-width: 534px) 100vw, 534px\" \/><figcaption>\u56fe\u7247\u6765\u81ea\u4e92\u8054\u7f51<\/figcaption><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\uff1a https:\/\/blog.csdn.net\/baidu_24565387\/article\/detail\u2026 <span class=\"read-more\"><a href=\"http:\/\/iqotom.com\/?p=1077\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1080,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56,4],"tags":[57,90],"_links":{"self":[{"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts\/1077"}],"collection":[{"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1077"}],"version-history":[{"count":1,"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts\/1077\/revisions"}],"predecessor-version":[{"id":1081,"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/posts\/1077\/revisions\/1081"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/iqotom.com\/index.php?rest_route=\/wp\/v2\/media\/1080"}],"wp:attachment":[{"href":"http:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1077"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/iqotom.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}