{"id":444,"date":"2019-03-27T11:54:46","date_gmt":"2019-03-27T02:54:46","guid":{"rendered":"http:\/\/marius.main.jp\/software\/blog\/?p=444"},"modified":"2020-03-25T18:02:01","modified_gmt":"2020-03-25T09:02:01","slug":"post-444","status":"publish","type":"post","link":"https:\/\/todosoft.net\/blog\/?p=444","title":{"rendered":"MahApps.Metro\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u8a2d\u5b9a"},"content":{"rendered":"\n<p>\u521d\u671f\u306eMainWindow.xaml<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"228\" src=\"http:\/\/marius.main.jp\/software\/blog\/wp-content\/uploads\/2019\/03\/default.png\" alt=\"\" class=\"wp-image-452\" srcset=\"https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/default.png 334w, https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/default-300x205.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p>\u30fbBorderBrush<br>\u3000\u3000\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u67a0\u306e\u8868\u793a\u304a\u3088\u3073\u8272\u6307\u5b9a<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"\n        GlowBrush=\"{DynamicResource AccentColorBrush}\"><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"228\" src=\"http:\/\/marius.main.jp\/software\/blog\/wp-content\/uploads\/2019\/03\/GlowBrush.png\" alt=\"\" class=\"wp-image-454\" srcset=\"https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/GlowBrush.png 334w, https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/GlowBrush-300x205.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/figure>\n\n\n\n<p>\u30fbEnableDWMDropShadow<br>\u3000\u3000\u30c9\u30ed\u30c3\u30d7\u30b7\u30e3\u30c9\u30a6\u306e\u8868\u793a(true)\u30fb\u975e\u8868\u793a(false)<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"\n        EnableDWMDropShadow =\"True\"><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"228\" src=\"http:\/\/marius.main.jp\/software\/blog\/wp-content\/uploads\/2019\/03\/EnableDWMDropShadow.png\" alt=\"\" class=\"wp-image-453\" srcset=\"https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/EnableDWMDropShadow.png 334w, https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/EnableDWMDropShadow-300x205.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/figure>\n\n\n\n<p>\u30fbShowIconOnTitleBar<br>\u3000\u3000\u30bf\u30a4\u30c8\u30eb\u30d0\u30fc\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u8868\u793a(true)\u30fb\u975e\u8868\u793a(false)<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"\n        ShowIconOnTitleBar=\"True\" Icon=\"outline_face_white_18dp.ico\"><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"228\" src=\"http:\/\/marius.main.jp\/software\/blog\/wp-content\/uploads\/2019\/03\/ShowIconOnTitleBar.png\" alt=\"\" class=\"wp-image-456\" srcset=\"https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/ShowIconOnTitleBar.png 334w, https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/ShowIconOnTitleBar-300x205.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/figure>\n\n\n\n<p>\u30fbTitleCharacterCasing<br>\u3000\u3000\u30bf\u30a4\u30c8\u30eb\u6587\u5b57\u5217\u3092\u5927\u6587\u5b57(Upper)\u30fb\u5c0f\u6587\u5b57(Lower)\u30fb\u5909\u63db\u7121\u3057(Normal)\u306b<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"\n        TitleCharacterCasing=\"Normal\"><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"334\" height=\"228\" src=\"http:\/\/marius.main.jp\/software\/blog\/wp-content\/uploads\/2019\/03\/TitleCharacterCasing.png\" alt=\"\" class=\"wp-image-457\" srcset=\"https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/TitleCharacterCasing.png 334w, https:\/\/todosoft.net\/blog\/wp-content\/uploads\/2019\/03\/TitleCharacterCasing-300x205.png 300w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/figure>\n\n\n\n<p>\u30fbWindowTransitionsEnabled<br>\u3000\u3000\u30a6\u30a3\u30c9\u30a6\u8868\u793a\u6642\u306b\u30b9\u30e9\u30a4\u30c9\u3059\u308b\u3088\u3046\u306b\u3059\u308b(true)\u30fb\u3057\u306a\u3044(false)<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"\n        WindowTransitionsEnabled=\"false\"><\/code><\/pre>\n\n\n\n<p>\u30fbSaveWindowPosition<br>\u3000\u3000\u30a6\u30a3\u30f3\u30c9\u30a6\u8868\u793a\u6642\u306e\u4f4d\u7f6e\u3092\u3001\u524d\u56de\u7d42\u4e86\u6642\u306e\u5834\u6240\u306b\u3059\u308b(true)\u30fb\u3057\u306a\u3044(false)<br><\/p>\n\n\n\n<p>\u5ea7\u6a19\u306f\u4e0b\u8a18\u30d5\u30a1\u30a4\u30eb\u306b\u683c\u7d0d\u3055\u308c\u308b\u3002<br>%USERPROFILE%appDataLocal {\u4f1a\u793e\u540d}{exe\u540d+\u30cf\u30c3\u30b7\u30e5\u5024}{\u30a2\u30bb\u30f3\u30d6\u30ea\u30d0\u30fc\u30b8\u30e7\u30f3}user.config <\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Controls:MetroWindow x:Class=\"WpfApp6.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:WpfApp6\"\n        xmlns:Controls=\"clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"200\" Width=\"300\"\n        SaveWindowPosition=\"True\"><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u521d\u671f\u306eMainWindow.xaml<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,20,15],"tags":[29,23],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-c","category-wpf","category-15","tag-mahapps","tag-wpf"],"_links":{"self":[{"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":10,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":719,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/719"}],"wp:attachment":[{"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}