{"id":556,"date":"2019-12-23T03:36:03","date_gmt":"2019-12-22T18:36:03","guid":{"rendered":"http:\/\/marius.main.jp\/software\/blog\/?p=556"},"modified":"2021-03-14T05:40:41","modified_gmt":"2021-03-13T20:40:41","slug":"post-556","status":"publish","type":"post","link":"https:\/\/todosoft.net\/blog\/?p=556","title":{"rendered":"ListView\u306e\u30b9\u30af\u30ed\u30fc\u30eb\u3092Pixel\u5358\u4f4d\u306b\u3059\u308b"},"content":{"rendered":"\n<p> VirtualizingPanel.ScrollUnit=&#8221;Pixel&#8221;  \u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MainWindow.xaml<\/h2>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-csharp\"><code class=\"language-csharp\">&lt;Window x:Class=\"WpfApp19.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:WpfApp19\"\n        mc:Ignorable=\"d\"\n        Title=\"MainWindow\" Height=\"250\" Width=\"400\">\n    &lt;Grid>\n        &lt;ListView x:Name=\"lstView\" Margin=\"30\" ItemsSource=\"{Binding arrayString}\" VirtualizingPanel.ScrollUnit=\"Pixel\">\n            &lt;ListView.ItemTemplate>\n                &lt;DataTemplate>\n                    &lt;Button Height=\"50\" Width=\"100\" Content=\"{Binding}\"\/>\n                &lt;\/DataTemplate>\n            &lt;\/ListView.ItemTemplate>\n        &lt;\/ListView>\n    &lt;\/Grid>\n&lt;\/Window><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>VirtualizingPanel.ScrollUnit=&#8221;Pixel&#8221; \u3092\u8a2d\u5b9a\u3059\u308b\u3002 MainWindow.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":[48,73,53],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-c","category-wpf","category-15","tag-listview","tag-pixel","tag-scroll"],"_links":{"self":[{"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/556","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=556"}],"version-history":[{"count":5,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/556\/revisions"}],"predecessor-version":[{"id":701,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/556\/revisions\/701"}],"wp:attachment":[{"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/todosoft.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}