{"id":95,"date":"2013-12-30T07:38:19","date_gmt":"2013-12-29T22:38:19","guid":{"rendered":"https:\/\/prg.waou.biz\/?p=95"},"modified":"2019-09-07T21:10:23","modified_gmt":"2019-09-07T12:10:23","slug":"%e3%82%b0%e3%83%aa%e3%83%83%e3%83%89%e8%83%8c%e6%99%af%e8%89%b2%e3%82%92%e4%ba%a4%e4%ba%92%e3%81%ab%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/prg.waou.biz\/?p=95","title":{"rendered":"\u30b0\u30ea\u30c3\u30c9\u80cc\u666f\u8272\u3092\u4ea4\u4e92\u306b\u8868\u793a\u3059\u308b"},"content":{"rendered":"<p>gcMultiRow1\u306eAlternatingRowsDefaultCellStyle \u30d7\u30ed\u30d1\u30c6\u30a3 \u3068RowsDefaultCellStyle\u3067\u6307\u5b9a \u3053\u308c\u3060\u3051\u3060\u3068\u3001\u65b0\u305f\u306a\u80cc\u666f\u8272\u306e\u307f\u767b\u9332\u3055\u308c\u308b\u306e\u3067\u3001\u5143\u306e\u80cc\u666f\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306f\u3001 GcMultiRow.DefaultCellNoteStyle \u30d7\u30ed\u30d1\u30c6\u30a3 \u3067\u3082\u8272\u3092\u6307\u5b9a\u3059\u308b\u3002 \u3053\u308c\u3067\u5909\u66f4\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3002\u305d\u306e\u3068\u304d\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true \">DynamicCellStyle dynamicCellStyle1 = new DynamicCellStyle(); \r\n\r\ndynamicCellStyle1.ConditionHandler = new DynamicCellStyleConditionHandler(MyCondition); \r\n\r\ntemplate1.Row.DefaultCellStyle = dynamicCellStyle1; gcMultiRow1.Template = template1; \r\n\r\nprivate CellStyle MyCondition(DynamicCellStyleContext context) { CellStyle cellStyle1 = new CellStyle(); \r\n\r\n\/\/ 1\u884c\u304a\u304d\u306b\u30bb\u30eb\u306e\u80cc\u666f\u8272\u3092\u5909\u66f4\u3059\u308b \r\nif (context.CellScope == CellScope.Row &amp;&amp;\r\n (context.RowIndex % 2) == 0) { cellStyle1.BackColor = Color.LightCyan; } else { cellStyle1.BackColor = Color.LightSalmon; } return cellStyle1; }<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gcMultiRow1\u306eAlternatingRowsDefaultCellStyle \u30d7\u30ed\u30d1\u30c6\u30a3 \u3068RowsDefaultCellStyle\u3067\u6307\u5b9a \u3053\u308c\u3060\u3051\u3060\u3068\u3001\u65b0\u305f\u306a\u80cc\u666f\u8272\u306e\u307f\u767b\u9332\u3055\u308c\u308b\u306e\u3067\u3001\u5143\u306e\u80cc\u666f\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306f [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","_lightning_design_setting":[],"footnotes":""},"categories":[12],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-multirow"],"_links":{"self":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":4,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":1139,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/1139"}],"wp:attachment":[{"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prg.waou.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}