{"id":10024,"date":"2019-04-23T10:46:14","date_gmt":"2019-04-23T01:46:14","guid":{"rendered":"https:\/\/elleneast.com\/?p=10024"},"modified":"2019-04-23T19:46:41","modified_gmt":"2019-04-23T10:46:41","slug":"%e3%80%90wpf%e3%80%91listview-%e3%81%ae%e5%88%97%ef%bc%88%e3%82%bb%e3%83%ab%ef%bc%89%e3%81%ab%e5%b7%a6%e6%8f%83%e3%81%88%e3%83%bb%e4%b8%ad%e5%a4%ae%e6%8f%83%e3%81%88%e3%83%bb%e5%8f%b3%e6%8f%83","status":"publish","type":"post","link":"https:\/\/elleneast.com\/?p=10024","title":{"rendered":"\u3010WPF\u3011ListView \u306e\u5217\uff08\u30bb\u30eb\uff09\u306b\u5de6\u63c3\u3048\u30fb\u4e2d\u592e\u63c3\u3048\u30fb\u53f3\u63c3\u3048\u3092\u8a2d\u5b9a\u3059\u308b"},"content":{"rendered":"<p>WPF \u306e ListView \u3067\u3001\u5217\uff08\u30bb\u30eb\uff09\u306e\u4e2d\u8eab\u3092\uff08\u4e0b\u56f3\u306e\u3088\u3046\u306b\uff09\u4e2d\u592e\u63c3\u3048\u306b\u3057\u305f\u3044\u3068\u601d\u3063\u305f\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u5de6\u63c3\u3048\uff09\u3002<\/p>\n<p><a href=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ListViewAlign_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10026 bigshadow\" src=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ListViewAlign_1.png\" alt=\"\" width=\"380\" height=\"185\" srcset=\"https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ListViewAlign_1.png 380w, https:\/\/elleneast.com\/wp\/wp-content\/uploads\/programming_topics\/ListViewAlign_1-300x146.png 300w\" sizes=\"auto, (max-width: 380px) 100vw, 380px\"><\/a><\/p>\n<p>\u3068\u3053\u308d\u304c CheckBox \u306e HorizontalAlignment \u3092 Center \u306b\u8a2d\u5b9a\u3057\u3066\u3082\u4e2d\u592e\u63c3\u3048\u306b\u306a\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u30cd\u30c3\u30c8\u691c\u7d22\u3057\u3066\u8abf\u67fb\u3057\u305f\u3002<\/p>\n<p>\u3059\u308b\u3068\u30fb\u30fb\u30fb<\/p>\n<ul>\n<li>ListView \u306e 1 \u5217\u76ee\u306f\u5de6\u63c3\u3048\u306b\u3057\u304b\u3067\u304d\u306a\u3044<\/li>\n<li>1 \u5217\u76ee\u3092\u975e\u8868\u793a\u306b\u3057\u3066 2 \u5217\u76ee\u304b\u3089\u4f7f\u7528\u3059\u308b\u306e\u304c\u624b\u3063\u53d6\u308a\u65e9\u3044<\/li>\n<li>Win32 API \u3092\u4f7f\u3048\u3070\u30fb\u30fb\u30fb<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u8a18\u4e8b\u304c\u76ee\u306b\u3064\u3044\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u3042\u304d\u3089\u3081\u304b\u3051\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u304c\u3001<\/p>\n<p>\u5f15\u304d\u7d9a\u304d\u8abf\u3079\u3066\u3044\u305f\u3089\u3001\u3069\u3046\u3084\u3089\u3053\u308c\u306f WPF \u306e\u8a71\u3067\u306f\u306a\u304f\u3001Forms \u306e ListView \u306e\u8a71\u3089\u3057\u3044\u3002<\/p>\n<p>WPF \u3068 Forms \u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u540d\u524d\u304c\u540c\u3058\u3067\u6319\u52d5\u304c\u4f3c\u3066\u3044\u308b\u3082\u306e\u304c\u591a\u3044\u3051\u308c\u3069\u3001\u5b9f\u969b\u306f\u6319\u52d5\u304c\u7570\u306a\u308b\u3082\u306e\u304c\u591a\u3044\u306e\u3067\u7d1b\u3089\u308f\u3057\u3044\u3093\u3060\u3088\u306d\u30fb\u30fb\u30fb\u3002\uff08\u3053\u306e\u7d1b\u3089\u308f\u3057\u3055\u3001\u4f55\u3068\u304b\u306a\u3089\u3093\u304b\u3063\u305f\u3093\u304b\u3044\uff09<\/p>\n<p>\u3057\u304b\u3082\u4eca\u56de\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001WPF \u306e ListView \u3082\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5217\uff08\u30bb\u30eb\uff09\u306b\u6307\u5b9a\u3057\u305f\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u304c\u9069\u7528\u3055\u308c\u306a\u3044\u306e\u3067\u3001Forms \u306e ListView \u306e\u4ef6\u3068\u9593\u9055\u3044\u3084\u3059\u3044\uff08\u305d\u3093\u306a\u3053\u3068\u306a\u3044\uff1f\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u7d50\u8ad6\u3092\u8a00\u3046\u3068\u3001WPF \u306e ListView \u306e\u5217\uff08\u30bb\u30eb\uff09\u306b\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u3092\u9069\u7528\u3059\u308b\u306b\u306f\u3001\u305d\u306e\u524d\u6e96\u5099\u3068\u3057\u3066\uff08ListView \u306b\u5bfe\u3057\u3066\uff09\u4e0b\u8a18\u306e\u5b9a\u7fa9\u304c\u5fc5\u8981\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<pre class=\"lang:xhtml decode:true\">&lt;ListView.ItemContainerStyle&gt;\n    &lt;Style TargetType=\"ListViewItem\"&gt;\n        &lt;!-- ListView \u306e\u5217\uff08\u30bb\u30eb\uff09\u306b\u5de6\u63c3\u3048\u30fb\u4e2d\u592e\u63c3\u3048\u30fb\u53f3\u63c3\u3048\u3092\u8a2d\u5b9a\u3059\u308b\u306e\u306b\u5fc5\u8981\u306a\u5b9a\u7fa9 --&gt;\n        &lt;Setter Property=\"HorizontalContentAlignment\" Value=\"Stretch\" \/&gt;\n    &lt;\/Style&gt;\n&lt;\/ListView.ItemContainerStyle&gt;<\/pre>\n<p>WPF \u306e ListView \u306e\u5834\u5408\u3001\u3053\u308c\u3067\u3001\u5404\u5217\uff08\u30bb\u30eb\uff09\u306b\u8a2d\u5b9a\u3057\u305f\u30a2\u30e9\u30a4\u30f3\u30e1\u30f3\u30c8\u304c\u52b9\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPF \u306e ListView \u3067\u3001\u5217\uff08\u30bb\u30eb\uff09\u306e\u4e2d\u8eab\u3092\uff08\u4e0b\u56f3\u306e\u3088\u3046\u306b\uff09\u4e2d\u592e\u63c3\u3048\u306b\u3057\u305f\u3044\u3068\u601d\u3063\u305f\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u5de6\u63c3\u3048\uff09\u3002 \u3068\u3053\u308d\u304c CheckBox \u306e HorizontalAlignment \u3092 Center \u306b\u8a2d\u5b9a\u3057\u3066\u3082 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[57],"tags":[62],"class_list":{"0":"post-10024","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-57","8":"tag-wpf"},"_links":{"self":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10024"}],"version-history":[{"count":3,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10024\/revisions"}],"predecessor-version":[{"id":10029,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/posts\/10024\/revisions\/10029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=\/wp\/v2\/media\/2656"}],"wp:attachment":[{"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elleneast.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}