{"id":2288,"date":"2024-07-03T09:42:05","date_gmt":"2024-07-03T01:42:05","guid":{"rendered":"https:\/\/sanlangcode.com\/?p=2288"},"modified":"2024-07-03T09:42:05","modified_gmt":"2024-07-03T01:42:05","slug":"winui","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2024\/07\/03\/winui\/","title":{"rendered":"WinUI"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"scroller-0\">\u4ec0\u4e48\u662fWinUI<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Windows UI\u5e93 (WinUI) \u662f\u9002\u7528\u4e8e Windows \u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u548c UWP \u5e94\u7528\u7a0b\u5e8f\u7684\u672c\u673a\u7528\u6237\u4f53\u9a8c (UX) \u6846\u67b6\u3002<\/p><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>WinUI<\/code>&nbsp;is a user interface layer that contains modern controls and styles for building Windows apps. As the native UI layer in Windows it embodies Fluent Design, giving each Windows app the polished feel that customers expect.<\/p><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>\u200eWinUI<\/code>\u662f\u4e00\u4e2a\u7528\u6237\u754c\u9762\u5c42\uff0c\u5305\u542b\u7528\u4e8e\u6784\u5efaWindows\u5e94\u7528\u7684\u73b0\u4ee3\u63a7\u4ef6\u548c\u6837\u5f0f\u3002\u200e\u200e\u4f5c\u4e3aWindows\u4e2d\u7684\u539f\u751fUI\u5c42\uff0c\u5b83\u4f53\u73b0\u4e86\u200e\u200e\u6d41\u7545\u7684\u8bbe\u8ba1\u200e\u200e\uff0c\u4e3a\u6bcf\u4e2aWindows\u5e94\u7528\u63d0\u4f9b\u4e86\u5ba2\u6237\u6240\u671f\u671b\u7684\u629b\u5149\u611f\u89c9\u3002\u200e<\/p><\/blockquote>\n\n\n\n<p>\u901a\u4fd7\u4e00\u70b9\u7406\u89e3\uff0c<code>WinUI<\/code>\u5c06<code>UWP<\/code>\u7684UI\u5c42\u4ece<code>Windows SDK<\/code>\u7684\u5176\u5b83\u90e8\u5206\u5206\u79bb\uff0c\u5e76\u5c06\u4ece<code>Windows<\/code>\u8f6c\u79fb\u5230<code>Nuget<\/code>\u3002\u73b0\u5728\u5efa\u4e00\u4e2a<code>C++<\/code>\u6216<code>C#(.NET 5)<\/code>\u7a0b\u5e8f\uff0c\u518d\u4ece<code>Nuget<\/code>\u4e0a\u88c5\u4e2a<code>WinUI 3<\/code>\u7684\u5305\u5957\u4e2aUI\u5c42\uff0c\u4e00\u4e2a\u57fa\u4e8e<code>Fluent Design<\/code>\uff0c\u89e6\u6478\u53cb\u597d\uff0c\u6027\u80fd\u65e0\u4e0e\u4f26\u6bd4\u7684\u5e94\u7528\u7a0b\u5e8f\u5c31\u8bde\u751f\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"scroller-1\">\u4ec0\u4e48\u662fWinUI 3<\/h2>\n\n\n\n<p><code>Windows UI\u5e93(WinUI)3<\/code>\u662f\u7528\u4e8e\u6784\u5efa\u65b0\u5f0fWindows\u5e94\u7528\u7684\u539f\u751f\u7528\u6237\u4f53\u9a8c(UX)\u5e73\u53f0\u3002<code>WinUI 3<\/code>\u7684\u6b64\u9884\u89c8\u7248\u65e2\u9002\u7528\u4e8e<code>\u684c\u9762<\/code>\/<code>Win32<\/code>\u5e94\u7528\uff0c\u4e5f\u9002\u7528\u4e8e<code>UWP<\/code>\u5e94\u7528\uff0c\u5e76\u4e14\u5305\u542b<code>VisualStudio<\/code>\u9879\u76ee\u6a21\u677f\u548c<code>NuGet<\/code>\u5305\uff0c\u524d\u8005\u6709\u52a9\u4e8e\u4f60\u5f00\u59cb\u4f7f\u7528\u57fa\u4e8e<code>WinUI<\/code>\u7684\u7528\u6237\u754c\u9762\u6784\u5efa\u5e94\u7528\uff0c\u540e\u8005\u5305\u542b<code>WinUI<\/code>\u5e93\u3002<\/p>\n\n\n\n<p>\u4ece\u4e0b\u56fe\u4e2d\uff0c\u53ef\u4ee5\u770b\u51faUI Framework\u6280\u672f\u7684\u6f14\u8fdb\uff1a<\/p>\n\n\n\n<p>1992\u5e74\u7684<code>MFC<\/code>&nbsp;-&gt; 2002\u5e74\u7684<code>WinForms<\/code>&nbsp;-&gt; 2006\u5e74\u7684<code>WPF<\/code>&nbsp;-&gt; 2012\u5e74\u7684<code>UWP<\/code>+<code>Win UI2 Library<\/code>\uff0c\u6700\u7ec8\u8fce\u6765\u4e86\u6211\u4eec\u4eca\u5929\u7684\u4e3b\u89d2<code>WinUI 3(3rd generation of WinUI)<\/code>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662fWinUI Windows&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2288","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/2288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=2288"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/2288\/revisions"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=2288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=2288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=2288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}