{"id":1103,"date":"2010-07-28T14:33:29","date_gmt":"2010-07-28T05:33:29","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/archives\/1103"},"modified":"2010-07-28T14:33:33","modified_gmt":"2010-07-28T05:33:33","slug":"wpf%e3%81%ae%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%82%ad%e3%83%bc%e5%88%b6%e5%be%a1","status":"publish","type":"post","link":"https:\/\/www.moonmile.net\/blog\/archives\/1103","title":{"rendered":"WPF\u306e\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u5236\u5fa1"},"content":{"rendered":"<p>\n    \u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u3044\u308f\u3086\u308b\u3001ALT+\u306a\u3093\u3068\u304b\u30ad\u30fc\u3067\u3001\u30e1\u30cb\u30e5\u30fc\u306b\u98db\u3076\u30a2\u30ec\u3067\u3059\u3002\n<\/p>\n<p>\n    Windows Form \u3067\u4f5c\u3063\u305f\u30e1\u30cb\u30e5\u30fc\u306e\u5834\u5408\u306f\u3001\u300c\u30d5\u30a1\u30a4\u30eb(&amp;F)\u300d\u306a\u611f\u3058\u3067\u3001\u300c&amp;\u300d\u3092\u4ed8\u3051\u308b\u306e\u3067\u3059\u304c\u3001\n<\/p>\n<p>\n    WPF\u306e\u5834\u5408\u306b\u306f\u3001\u300c\u30d5\u30a1\u30a4\u30eb(_F)\u300d\u306a\u611f\u3058\u3067\u300c_\u300d\uff08\u30a2\u30f3\u30c0\u30fc\u30d0\u30fc\uff09\u3092\u4ed8\u3051\u307e\u3059\u3002\n<\/p>\n<p>\n    WPF\u3067\u306e\u30e1\u30cb\u30e5\u30fc\u30a2\u30af\u30bb\u30b9\u30ad\u30fc<br \/>\n    <a href=\"http:\/\/blogs.wankuma.com\/yo\/archive\/2008\/02\/05\/121155.aspx\">http:\/\/blogs.wankuma.com\/yo\/archive\/2008\/02\/05\/121155.aspx<\/a>\n<\/p>\n<p>\n    \u30a2\u30f3\u30c0\u30fc\u30d0\u30fc\u306b\u5909\u308f\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u591a\u5206 XAML \u3067\u30a2\u30f3\u30d1\u30b5\u30f3\u30c9\uff08&amp;\uff09\u3092\u4f7f\u3046\u3068\u3001\u8a18\u8ff0\u7684\u306b\u56f0\u96e3\u3060\u304b\u3089\u3067\u3057\u3087\u3046\u306d\u3002\n<\/p>\n<p>\n    \u306a\u306e\u3067\u3001\u30e1\u30cb\u30e5\u30fc\u306b\u30a2\u30f3\u30c0\u30fc\u30d0\u30fc\u304c\u4f7f\u3048\u306a\u3044\u3001\u3068\u3044\u3046\u5f0a\u5bb3\u304c\u3042\u308b\u308f\u3051\u3067\u3059\u304c\u3002\n<\/p>\n<p>\n    # __ \u306e\u3088\u3046\u306b\u30a2\u30f3\u30c0\u30fc\u30d0\u30fc\u3092\u91cd\u306d\u308b\u3068\u3044\u3051\u308b\uff1f\n<\/p>\n<p>\n    \u3055\u3066\u3001\u554f\u984c\u306f\u3001\u30e1\u30cb\u30e5\u30fc\u304c\u7121\u3044\u3068\u304d\u3067\u3059\u3002\n<\/p>\n<p>\n    <img loading=\"lazy\" decoding=\"async\" title=\"20100728_03.jpg\" border=\"0\" alt=\"20100728_03.jpg\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2010\/07\/bw_uploads20100728_03.jpg\" width=\"479\" height=\"370\" \/>\n<\/p>\n<p>\n    \u30c4\u30a4\u30fc\u30c8\u5c02\u7528\u30c4\u30fc\u30eb\u306e\u5834\u5408\u3001\u30e1\u30cb\u30e5\u30fc\u3092\u4ed8\u3051\u308b\u306e\u306f\u5acc\u3060\u3057\u3001\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u306e\u8a18\u53f7\uff08\u30c4\u30a4\u30fc\u30c8(S)\uff09\u3092\u4ed8\u3051\u308b\u306e\u3082\u5acc\u3060\u3057\u3002\n<\/p>\n<p>\n    \u3068\u3044\u3046\u308f\u3051\u3067\u3001\n<\/p>\n<p>\n    AccessKeyManager \u30af\u30e9\u30b9 (System.Windows.Input)<br \/>\n    <a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/system.windows.input.accesskeymanager.aspx\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/system.windows.input.accesskeymanager.aspx<\/a>\n<\/p>\n<p>\n    \u3092\u4f7f\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n    XAML\u306e\u307b\u3046\u306b\u3001\n<\/p>\n<blockquote style=\"MARGIN-RIGHT: 0px\" dir=\"ltr\">\n<p>\n        &lt;Grid AccessKeyManager.AccessKeyPressed=&#8221;Grid_AccessKeyPressed&#8221;\n    <\/p>\n<\/blockquote>\n<p>\n    \u3068\u3057\u3066\u3001\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u306e\u30cf\u30f3\u30c9\u30e9\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u3044\u3066\u3001\u6b21\u306a\u611f\u3058\u3067\u3001Key \u3067\u632f\u308a\u5206\u3051\u307e\u3059\u3002\n<\/p>\n<p>\n    &nbsp;\n<\/p>\n<blockquote style=\"MARGIN-RIGHT: 0px\" dir=\"ltr\">\n<p>\n        \/\/\/ &lt;summary&gt;<br \/>\n        \/\/\/ \u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u5236\u5fa1<br \/>\n        \/\/\/ &lt;\/summary&gt;<br \/>\n        \/\/\/ &lt;param name=&#8221;sender&#8221;&gt;&lt;\/param&gt;<br \/>\n        \/\/\/ &lt;param name=&#8221;e&#8221;&gt;&lt;\/param&gt;<br \/>\n        private void textBox1_AccessKeyPressed(object sender, AccessKeyPressedEventArgs e)<br \/>\n        {<br \/>\n        &nbsp;switch ( e.Key ) {<br \/>\n        &nbsp;&nbsp;case &#8220;S&#8221; :<br \/>\n        &nbsp;&nbsp;&nbsp;if ( textBox1.Text.Length != 0 ) {<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;button1_Click( sender, null );<br \/>\n        &nbsp;&nbsp;&nbsp;}<br \/>\n        &nbsp;&nbsp;&nbsp;break;<br \/>\n        &nbsp;&nbsp;case &#8220;B&#8221;:<br \/>\n        &nbsp;&nbsp;&nbsp;button2_Click( sender, null );<br \/>\n        &nbsp;&nbsp;&nbsp;break;<br \/>\n        &nbsp;&nbsp;case &#8220;D&#8221;:<br \/>\n        &nbsp;&nbsp;&nbsp;buttonDel_Click(sender, null );<br \/>\n        &nbsp;&nbsp;&nbsp;break;<br \/>\n        &nbsp;}<br \/>\n        }\n    <\/p>\n<\/blockquote>\n<p>\n    Key \u81ea\u4f53\u306f\u3001\u300cALT+\u30ad\u30fc\u300d\u3067\u62bc\u3055\u308c\u308b\u3001\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u5927\u6587\u5b57\uff08\u306a\u305c\u304b\u6587\u5b57\u5217\uff09\u3067\u6e21\u3055\u308c\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n<\/p>\n<p>\n    \u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001\n<\/p>\n<ul dir=\"ltr\">\n<li>\n<div>\n            ALT+S \u3067\u3001\u30c4\u30a4\u30fc\u30c8\n        <\/div>\n<\/li>\n<li>\n<div>\n            ALT+B \u3067\u3001\u77ed\u7e2eURL\n        <\/div>\n<\/li>\n<li>\n<div>\n            ALT+D \u3067\u3001\u3072\u3068\u3064\u524a\u9664\n        <\/div>\n<\/li>\n<\/ul>\n<p>\n    \u3063\u3066\u5177\u5408\u3067\u3059\u3002\n<\/p>\n<p>\n    &nbsp;\n<\/p>\n<p>\n    &nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u3044\u308f\u3086\u308b\u3001ALT+\u306a\u3093\u3068\u304b\u30ad\u30fc\u3067\u3001\u30e1\u30cb\u30e5\u30fc\u306b\u98db\u3076\u30a2\u30ec\u3067\u3059\u3002 Windows Form \u3067\u4f5c\u3063\u305f\u30e1\u30cb\u30e5\u30fc\u306e\u5834\u5408\u306f\u3001\u300c\u30d5\u30a1\u30a4\u30eb(&amp;F)\u300d\u306a\u611f\u3058\u3067\u3001\u300c&amp;\u300d\u3092\u4ed8\u3051\u308b\u306e\u3067\u3059\u304c\u3001 WPF\u306e\u5834\u5408 &hellip; <a href=\"https:\/\/www.moonmile.net\/blog\/archives\/1103\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1103","post","type-post","status-publish","format-standard","hentry","category-dev"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/1103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=1103"}],"version-history":[{"count":1,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/1103\/revisions"}],"predecessor-version":[{"id":1104,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/1103\/revisions\/1104"}],"wp:attachment":[{"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}