[{"data":1,"prerenderedAt":4379},["ShallowReactive",2],{"content-query-fF8UQwgGLp":3,"navigation":4034},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"body":11,"_type":4027,"_id":4028,"_source":4029,"_file":4030,"_stem":4031,"_extension":4032,"sitemap":4033},"/document/cell-types/custom-cell","cell-types",false,"","カスタムセル","ReoGridはカスタムセルタイプを作成するための ICellBody インターフェースと CellBody 基底クラスを提供しています。セルボディはセル内に埋め込まれ、セルの寸法に準拠し、レンダリング、マウス、キーボードイベントを処理します。","2014-05-28",{"type":12,"children":13,"toc":3999},"root",[14,39,48,54,173,178,188,442,447,483,489,506,512,577,582,869,874,1050,1055,1082,1204,1209,1296,1301,1396,1401,1419,1593,1599,1612,1683,1688,1693,1864,1872,1877,1895,1999,2007,2012,2425,2433,2438,2456,2535,2540,2551,2724,2729,3222,3230,3235,3438,3443,3448,3521,3529,3534,3545,3716,3721,3739,3835,3840,3913,3918,3930,3938,3943,3993],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,29,31,37],{"type":20,"value":21},"text","ReoGridはカスタムセルタイプを作成するための ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":28},"ICellBody",{"type":20,"value":30}," インターフェースと ",{"type":15,"tag":23,"props":32,"children":34},{"className":33},[],[35],{"type":20,"value":36},"CellBody",{"type":20,"value":38}," 基底クラスを提供しています。セルボディはセル内に埋め込まれ、セルの寸法に準拠し、レンダリング、マウス、キーボードイベントを処理します。",{"type":15,"tag":16,"props":40,"children":41},{},[42],{"type":15,"tag":43,"props":44,"children":47},"img",{"alt":45,"src":46},"Cell Body","/document/images/24.png",[],{"type":15,"tag":49,"props":50,"children":52},"h2",{"id":51},"名前空間",[53],{"type":20,"value":51},{"type":15,"tag":55,"props":56,"children":60},"pre",{"code":57,"language":58,"meta":7,"className":59,"style":7},"using unvell.ReoGrid.CellTypes;\nusing unvell.ReoGrid.Events;\nusing unvell.ReoGrid.Rendering;\n","cs","language-cs shiki shiki-themes github-light github-dark github-light",[61],{"type":15,"tag":23,"props":62,"children":63},{"__ignoreMap":7},[64,107,140],{"type":15,"tag":65,"props":66,"children":69},"span",{"class":67,"line":68},"line",1,[70,76,82,88,93,97,102],{"type":15,"tag":65,"props":71,"children":73},{"style":72},"--shiki-light:#D73A49;--shiki-dark:#F97583;--shiki-default:#D73A49",[74],{"type":20,"value":75},"using",{"type":15,"tag":65,"props":77,"children":79},{"style":78},"--shiki-light:#6F42C1;--shiki-dark:#B392F0;--shiki-default:#6F42C1",[80],{"type":20,"value":81}," unvell",{"type":15,"tag":65,"props":83,"children":85},{"style":84},"--shiki-light:#24292E;--shiki-dark:#E1E4E8;--shiki-default:#24292E",[86],{"type":20,"value":87},".",{"type":15,"tag":65,"props":89,"children":90},{"style":78},[91],{"type":20,"value":92},"ReoGrid",{"type":15,"tag":65,"props":94,"children":95},{"style":84},[96],{"type":20,"value":87},{"type":15,"tag":65,"props":98,"children":99},{"style":78},[100],{"type":20,"value":101},"CellTypes",{"type":15,"tag":65,"props":103,"children":104},{"style":84},[105],{"type":20,"value":106},";\n",{"type":15,"tag":65,"props":108,"children":110},{"class":67,"line":109},2,[111,115,119,123,127,131,136],{"type":15,"tag":65,"props":112,"children":113},{"style":72},[114],{"type":20,"value":75},{"type":15,"tag":65,"props":116,"children":117},{"style":78},[118],{"type":20,"value":81},{"type":15,"tag":65,"props":120,"children":121},{"style":84},[122],{"type":20,"value":87},{"type":15,"tag":65,"props":124,"children":125},{"style":78},[126],{"type":20,"value":92},{"type":15,"tag":65,"props":128,"children":129},{"style":84},[130],{"type":20,"value":87},{"type":15,"tag":65,"props":132,"children":133},{"style":78},[134],{"type":20,"value":135},"Events",{"type":15,"tag":65,"props":137,"children":138},{"style":84},[139],{"type":20,"value":106},{"type":15,"tag":65,"props":141,"children":143},{"class":67,"line":142},3,[144,148,152,156,160,164,169],{"type":15,"tag":65,"props":145,"children":146},{"style":72},[147],{"type":20,"value":75},{"type":15,"tag":65,"props":149,"children":150},{"style":78},[151],{"type":20,"value":81},{"type":15,"tag":65,"props":153,"children":154},{"style":84},[155],{"type":20,"value":87},{"type":15,"tag":65,"props":157,"children":158},{"style":78},[159],{"type":20,"value":92},{"type":15,"tag":65,"props":161,"children":162},{"style":84},[163],{"type":20,"value":87},{"type":15,"tag":65,"props":165,"children":166},{"style":78},[167],{"type":20,"value":168},"Rendering",{"type":15,"tag":65,"props":170,"children":171},{"style":84},[172],{"type":20,"value":106},{"type":15,"tag":49,"props":174,"children":176},{"id":175},"クイックスタート",[177],{"type":20,"value":175},{"type":15,"tag":16,"props":179,"children":180},{},[181,186],{"type":15,"tag":23,"props":182,"children":184},{"className":183},[],[185],{"type":20,"value":36},{"type":20,"value":187}," を継承するクラスを作成し、必要なメソッドをオーバーライドしてセルにアタッチします。",{"type":15,"tag":55,"props":189,"children":191},{"code":190,"language":58,"meta":7,"className":59,"style":7},"class MyCellBody : CellBody\n{\n    public override void OnPaint(CellDrawingContext dc)\n    {\n        dc.DrawCellBackground();\n        // Custom drawing here\n        dc.DrawCellText();\n    }\n}\n\n// Attach to a cell\nsheet[\"C3\"] = new MyCellBody();\n// Or:\nsheet.Cells[\"C3\"].Body = new MyCellBody();\n",[192],{"type":15,"tag":23,"props":193,"children":194},{"__ignoreMap":7},[195,218,226,269,278,297,307,324,333,342,352,361,399,408],{"type":15,"tag":65,"props":196,"children":197},{"class":67,"line":68},[198,203,208,213],{"type":15,"tag":65,"props":199,"children":200},{"style":72},[201],{"type":20,"value":202},"class",{"type":15,"tag":65,"props":204,"children":205},{"style":78},[206],{"type":20,"value":207}," MyCellBody",{"type":15,"tag":65,"props":209,"children":210},{"style":84},[211],{"type":20,"value":212}," : ",{"type":15,"tag":65,"props":214,"children":215},{"style":78},[216],{"type":20,"value":217},"CellBody\n",{"type":15,"tag":65,"props":219,"children":220},{"class":67,"line":109},[221],{"type":15,"tag":65,"props":222,"children":223},{"style":84},[224],{"type":20,"value":225},"{\n",{"type":15,"tag":65,"props":227,"children":228},{"class":67,"line":142},[229,234,239,244,249,254,259,264],{"type":15,"tag":65,"props":230,"children":231},{"style":72},[232],{"type":20,"value":233},"    public",{"type":15,"tag":65,"props":235,"children":236},{"style":72},[237],{"type":20,"value":238}," override",{"type":15,"tag":65,"props":240,"children":241},{"style":72},[242],{"type":20,"value":243}," void",{"type":15,"tag":65,"props":245,"children":246},{"style":78},[247],{"type":20,"value":248}," OnPaint",{"type":15,"tag":65,"props":250,"children":251},{"style":84},[252],{"type":20,"value":253},"(",{"type":15,"tag":65,"props":255,"children":256},{"style":78},[257],{"type":20,"value":258},"CellDrawingContext",{"type":15,"tag":65,"props":260,"children":261},{"style":78},[262],{"type":20,"value":263}," dc",{"type":15,"tag":65,"props":265,"children":266},{"style":84},[267],{"type":20,"value":268},")\n",{"type":15,"tag":65,"props":270,"children":272},{"class":67,"line":271},4,[273],{"type":15,"tag":65,"props":274,"children":275},{"style":84},[276],{"type":20,"value":277},"    {\n",{"type":15,"tag":65,"props":279,"children":281},{"class":67,"line":280},5,[282,287,292],{"type":15,"tag":65,"props":283,"children":284},{"style":84},[285],{"type":20,"value":286},"        dc.",{"type":15,"tag":65,"props":288,"children":289},{"style":78},[290],{"type":20,"value":291},"DrawCellBackground",{"type":15,"tag":65,"props":293,"children":294},{"style":84},[295],{"type":20,"value":296},"();\n",{"type":15,"tag":65,"props":298,"children":300},{"class":67,"line":299},6,[301],{"type":15,"tag":65,"props":302,"children":304},{"style":303},"--shiki-light:#6A737D;--shiki-dark:#6A737D;--shiki-default:#6A737D",[305],{"type":20,"value":306},"        // Custom drawing here\n",{"type":15,"tag":65,"props":308,"children":310},{"class":67,"line":309},7,[311,315,320],{"type":15,"tag":65,"props":312,"children":313},{"style":84},[314],{"type":20,"value":286},{"type":15,"tag":65,"props":316,"children":317},{"style":78},[318],{"type":20,"value":319},"DrawCellText",{"type":15,"tag":65,"props":321,"children":322},{"style":84},[323],{"type":20,"value":296},{"type":15,"tag":65,"props":325,"children":327},{"class":67,"line":326},8,[328],{"type":15,"tag":65,"props":329,"children":330},{"style":84},[331],{"type":20,"value":332},"    }\n",{"type":15,"tag":65,"props":334,"children":336},{"class":67,"line":335},9,[337],{"type":15,"tag":65,"props":338,"children":339},{"style":84},[340],{"type":20,"value":341},"}\n",{"type":15,"tag":65,"props":343,"children":345},{"class":67,"line":344},10,[346],{"type":15,"tag":65,"props":347,"children":349},{"emptyLinePlaceholder":348},true,[350],{"type":20,"value":351},"\n",{"type":15,"tag":65,"props":353,"children":355},{"class":67,"line":354},11,[356],{"type":15,"tag":65,"props":357,"children":358},{"style":303},[359],{"type":20,"value":360},"// Attach to a cell\n",{"type":15,"tag":65,"props":362,"children":364},{"class":67,"line":363},12,[365,370,376,381,386,391,395],{"type":15,"tag":65,"props":366,"children":367},{"style":84},[368],{"type":20,"value":369},"sheet[",{"type":15,"tag":65,"props":371,"children":373},{"style":372},"--shiki-light:#032F62;--shiki-dark:#9ECBFF;--shiki-default:#032F62",[374],{"type":20,"value":375},"\"C3\"",{"type":15,"tag":65,"props":377,"children":378},{"style":84},[379],{"type":20,"value":380},"] ",{"type":15,"tag":65,"props":382,"children":383},{"style":72},[384],{"type":20,"value":385},"=",{"type":15,"tag":65,"props":387,"children":388},{"style":72},[389],{"type":20,"value":390}," new",{"type":15,"tag":65,"props":392,"children":393},{"style":78},[394],{"type":20,"value":207},{"type":15,"tag":65,"props":396,"children":397},{"style":84},[398],{"type":20,"value":296},{"type":15,"tag":65,"props":400,"children":402},{"class":67,"line":401},13,[403],{"type":15,"tag":65,"props":404,"children":405},{"style":303},[406],{"type":20,"value":407},"// Or:\n",{"type":15,"tag":65,"props":409,"children":411},{"class":67,"line":410},14,[412,417,421,426,430,434,438],{"type":15,"tag":65,"props":413,"children":414},{"style":84},[415],{"type":20,"value":416},"sheet.Cells[",{"type":15,"tag":65,"props":418,"children":419},{"style":372},[420],{"type":20,"value":375},{"type":15,"tag":65,"props":422,"children":423},{"style":84},[424],{"type":20,"value":425},"].Body ",{"type":15,"tag":65,"props":427,"children":428},{"style":72},[429],{"type":20,"value":385},{"type":15,"tag":65,"props":431,"children":432},{"style":72},[433],{"type":20,"value":390},{"type":15,"tag":65,"props":435,"children":436},{"style":78},[437],{"type":20,"value":207},{"type":15,"tag":65,"props":439,"children":440},{"style":84},[441],{"type":20,"value":296},{"type":15,"tag":16,"props":443,"children":444},{},[445],{"type":20,"value":446},"セルボディを削除します。",{"type":15,"tag":55,"props":448,"children":450},{"code":449,"language":58,"meta":7,"className":59,"style":7},"sheet.Cells[\"C3\"].Body = null;\n",[451],{"type":15,"tag":23,"props":452,"children":453},{"__ignoreMap":7},[454],{"type":15,"tag":65,"props":455,"children":456},{"class":67,"line":68},[457,461,465,469,473,479],{"type":15,"tag":65,"props":458,"children":459},{"style":84},[460],{"type":20,"value":416},{"type":15,"tag":65,"props":462,"children":463},{"style":372},[464],{"type":20,"value":375},{"type":15,"tag":65,"props":466,"children":467},{"style":84},[468],{"type":20,"value":425},{"type":15,"tag":65,"props":470,"children":471},{"style":72},[472],{"type":20,"value":385},{"type":15,"tag":65,"props":474,"children":476},{"style":475},"--shiki-light:#005CC5;--shiki-dark:#79B8FF;--shiki-default:#005CC5",[477],{"type":20,"value":478}," null",{"type":15,"tag":65,"props":480,"children":481},{"style":84},[482],{"type":20,"value":106},{"type":15,"tag":49,"props":484,"children":486},{"id":485},"cellbody基底クラス",[487],{"type":20,"value":488},"CellBody基底クラス",{"type":15,"tag":16,"props":490,"children":491},{},[492,497,499,504],{"type":15,"tag":23,"props":493,"children":495},{"className":494},[],[496],{"type":20,"value":36},{"type":20,"value":498}," クラスはすべての ",{"type":15,"tag":23,"props":500,"children":502},{"className":501},[],[503],{"type":20,"value":28},{"type":20,"value":505}," メンバーのデフォルト実装を提供します。必要なメソッドのみをオーバーライドしてください。",{"type":15,"tag":507,"props":508,"children":510},"h3",{"id":509},"プロパティ",[511],{"type":20,"value":509},{"type":15,"tag":513,"props":514,"children":515},"table",{},[516,539],{"type":15,"tag":517,"props":518,"children":519},"thead",{},[520],{"type":15,"tag":521,"props":522,"children":523},"tr",{},[524,529,534],{"type":15,"tag":525,"props":526,"children":527},"th",{},[528],{"type":20,"value":509},{"type":15,"tag":525,"props":530,"children":531},{},[532],{"type":20,"value":533},"型",{"type":15,"tag":525,"props":535,"children":536},{},[537],{"type":20,"value":538},"説明",{"type":15,"tag":540,"props":541,"children":542},"tbody",{},[543],{"type":15,"tag":521,"props":544,"children":545},{},[546,556,564],{"type":15,"tag":547,"props":548,"children":549},"td",{},[550],{"type":15,"tag":23,"props":551,"children":553},{"className":552},[],[554],{"type":20,"value":555},"Cell",{"type":15,"tag":547,"props":557,"children":558},{},[559],{"type":15,"tag":23,"props":560,"children":562},{"className":561},[],[563],{"type":20,"value":555},{"type":15,"tag":547,"props":565,"children":566},{},[567,569,575],{"type":20,"value":568},"親セル（",{"type":15,"tag":23,"props":570,"children":572},{"className":571},[],[573],{"type":20,"value":574},"OnSetup",{"type":20,"value":576}," 後に利用可能）",{"type":15,"tag":507,"props":578,"children":580},{"id":579},"ライフサイクルメソッド",[581],{"type":20,"value":579},{"type":15,"tag":513,"props":583,"children":584},{},[585,605],{"type":15,"tag":517,"props":586,"children":587},{},[588],{"type":15,"tag":521,"props":589,"children":590},{},[591,596,601],{"type":15,"tag":525,"props":592,"children":593},{},[594],{"type":20,"value":595},"メソッド",{"type":15,"tag":525,"props":597,"children":598},{},[599],{"type":20,"value":600},"戻り値",{"type":15,"tag":525,"props":602,"children":603},{},[604],{"type":20,"value":538},{"type":15,"tag":540,"props":606,"children":607},{},[608,634,660,694,719,761,794,819,844],{"type":15,"tag":521,"props":609,"children":610},{},[611,620,629],{"type":15,"tag":547,"props":612,"children":613},{},[614],{"type":15,"tag":23,"props":615,"children":617},{"className":616},[],[618],{"type":20,"value":619},"OnSetup(Cell cell)",{"type":15,"tag":547,"props":621,"children":622},{},[623],{"type":15,"tag":23,"props":624,"children":626},{"className":625},[],[627],{"type":20,"value":628},"void",{"type":15,"tag":547,"props":630,"children":631},{},[632],{"type":20,"value":633},"ボディがセルにアタッチされたときに呼び出される。ここで参照を保存",{"type":15,"tag":521,"props":635,"children":636},{},[637,646,655],{"type":15,"tag":547,"props":638,"children":639},{},[640],{"type":15,"tag":23,"props":641,"children":643},{"className":642},[],[644],{"type":20,"value":645},"OnSetData(object data)",{"type":15,"tag":547,"props":647,"children":648},{},[649],{"type":15,"tag":23,"props":650,"children":652},{"className":651},[],[653],{"type":20,"value":654},"object",{"type":15,"tag":547,"props":656,"children":657},{},[658],{"type":20,"value":659},"セルデータが設定されたときに呼び出される。変更されたデータまたは元のデータを返す",{"type":15,"tag":521,"props":661,"children":662},{},[663,672,681],{"type":15,"tag":547,"props":664,"children":665},{},[666],{"type":15,"tag":23,"props":667,"children":669},{"className":668},[],[670],{"type":20,"value":671},"OnStartEdit()",{"type":15,"tag":547,"props":673,"children":674},{},[675],{"type":15,"tag":23,"props":676,"children":678},{"className":677},[],[679],{"type":20,"value":680},"bool",{"type":15,"tag":547,"props":682,"children":683},{},[684,686,692],{"type":20,"value":685},"編集モード前に呼び出される。",{"type":15,"tag":23,"props":687,"children":689},{"className":688},[],[690],{"type":20,"value":691},"false",{"type":20,"value":693}," を返すと編集を防止",{"type":15,"tag":521,"props":695,"children":696},{},[697,706,714],{"type":15,"tag":547,"props":698,"children":699},{},[700],{"type":15,"tag":23,"props":701,"children":703},{"className":702},[],[704],{"type":20,"value":705},"OnEndEdit(object data, EndEditReason reason)",{"type":15,"tag":547,"props":707,"children":708},{},[709],{"type":15,"tag":23,"props":710,"children":712},{"className":711},[],[713],{"type":20,"value":654},{"type":15,"tag":547,"props":715,"children":716},{},[717],{"type":20,"value":718},"編集終了後に呼び出される。変更されたデータまたは元のデータを返す",{"type":15,"tag":521,"props":720,"children":721},{},[722,731,740],{"type":15,"tag":547,"props":723,"children":724},{},[725],{"type":15,"tag":23,"props":726,"children":728},{"className":727},[],[729],{"type":20,"value":730},"OnEditTextChanged(string text, bool textAppend)",{"type":15,"tag":547,"props":732,"children":733},{},[734],{"type":15,"tag":23,"props":735,"children":737},{"className":736},[],[738],{"type":20,"value":739},"(string, string)",{"type":15,"tag":547,"props":741,"children":742},{},[743,745,751,753,759],{"type":20,"value":744},"編集中にテキストが変更されたときに呼び出される。",{"type":15,"tag":23,"props":746,"children":748},{"className":747},[],[749],{"type":20,"value":750},"(text, selectedText)",{"type":20,"value":752}," または ",{"type":15,"tag":23,"props":754,"children":756},{"className":755},[],[757],{"type":20,"value":758},"(null, null)",{"type":20,"value":760}," を返す",{"type":15,"tag":521,"props":762,"children":763},{},[764,773,782],{"type":15,"tag":547,"props":765,"children":766},{},[767],{"type":15,"tag":23,"props":768,"children":770},{"className":769},[],[771],{"type":20,"value":772},"OnEditKeyDown(string text, KeyCode e)",{"type":15,"tag":547,"props":774,"children":775},{},[776],{"type":15,"tag":23,"props":777,"children":779},{"className":778},[],[780],{"type":20,"value":781},"string",{"type":15,"tag":547,"props":783,"children":784},{},[785,787,793],{"type":20,"value":786},"編集中にキーが押されたときに呼び出される。新しいテキストまたは ",{"type":15,"tag":23,"props":788,"children":790},{"className":789},[],[791],{"type":20,"value":792},"null",{"type":20,"value":760},{"type":15,"tag":521,"props":795,"children":796},{},[797,806,814],{"type":15,"tag":547,"props":798,"children":799},{},[800],{"type":15,"tag":23,"props":801,"children":803},{"className":802},[],[804],{"type":20,"value":805},"OnGotFocus()",{"type":15,"tag":547,"props":807,"children":808},{},[809],{"type":15,"tag":23,"props":810,"children":812},{"className":811},[],[813],{"type":20,"value":628},{"type":15,"tag":547,"props":815,"children":816},{},[817],{"type":20,"value":818},"セルがフォーカスを取得したときに呼び出される",{"type":15,"tag":521,"props":820,"children":821},{},[822,831,839],{"type":15,"tag":547,"props":823,"children":824},{},[825],{"type":15,"tag":23,"props":826,"children":828},{"className":827},[],[829],{"type":20,"value":830},"OnLostFocus()",{"type":15,"tag":547,"props":832,"children":833},{},[834],{"type":15,"tag":23,"props":835,"children":837},{"className":836},[],[838],{"type":20,"value":628},{"type":15,"tag":547,"props":840,"children":841},{},[842],{"type":20,"value":843},"セルがフォーカスを失ったときに呼び出される",{"type":15,"tag":521,"props":845,"children":846},{},[847,856,864],{"type":15,"tag":547,"props":848,"children":849},{},[850],{"type":15,"tag":23,"props":851,"children":853},{"className":852},[],[854],{"type":20,"value":855},"Clone()",{"type":15,"tag":547,"props":857,"children":858},{},[859],{"type":15,"tag":23,"props":860,"children":862},{"className":861},[],[863],{"type":20,"value":28},{"type":15,"tag":547,"props":865,"children":866},{},[867],{"type":20,"value":868},"このセルボディのコピーを作成",{"type":15,"tag":507,"props":870,"children":872},{"id":871},"レンダリングメソッド",[873],{"type":20,"value":871},{"type":15,"tag":513,"props":875,"children":876},{},[877,895],{"type":15,"tag":517,"props":878,"children":879},{},[880],{"type":15,"tag":521,"props":881,"children":882},{},[883,887,891],{"type":15,"tag":525,"props":884,"children":885},{},[886],{"type":20,"value":595},{"type":15,"tag":525,"props":888,"children":889},{},[890],{"type":20,"value":600},{"type":15,"tag":525,"props":892,"children":893},{},[894],{"type":20,"value":538},{"type":15,"tag":540,"props":896,"children":897},{},[898,923,948,974,999,1025],{"type":15,"tag":521,"props":899,"children":900},{},[901,910,918],{"type":15,"tag":547,"props":902,"children":903},{},[904],{"type":15,"tag":23,"props":905,"children":907},{"className":906},[],[908],{"type":20,"value":909},"OnPaint(CellDrawingContext dc)",{"type":15,"tag":547,"props":911,"children":912},{},[913],{"type":15,"tag":23,"props":914,"children":916},{"className":915},[],[917],{"type":20,"value":628},{"type":15,"tag":547,"props":919,"children":920},{},[921],{"type":20,"value":922},"セルボディをレンダリング。デフォルトは背景+テキストを描画",{"type":15,"tag":521,"props":924,"children":925},{},[926,935,943],{"type":15,"tag":547,"props":927,"children":928},{},[929],{"type":15,"tag":23,"props":930,"children":932},{"className":931},[],[933],{"type":20,"value":934},"DrawBackground(CellDrawingContext dc)",{"type":15,"tag":547,"props":936,"children":937},{},[938],{"type":15,"tag":23,"props":939,"children":941},{"className":940},[],[942],{"type":20,"value":628},{"type":15,"tag":547,"props":944,"children":945},{},[946],{"type":20,"value":947},"デフォルトのセル背景を描画",{"type":15,"tag":521,"props":949,"children":950},{},[951,960,969],{"type":15,"tag":547,"props":952,"children":953},{},[954],{"type":15,"tag":23,"props":955,"children":957},{"className":956},[],[958],{"type":20,"value":959},"GetBodyBounds()",{"type":15,"tag":547,"props":961,"children":962},{},[963],{"type":15,"tag":23,"props":964,"children":966},{"className":965},[],[967],{"type":20,"value":968},"Rectangle",{"type":15,"tag":547,"props":970,"children":971},{},[972],{"type":20,"value":973},"セル内のボディ境界を取得（パディングを考慮）",{"type":15,"tag":521,"props":975,"children":976},{},[977,986,994],{"type":15,"tag":547,"props":978,"children":979},{},[980],{"type":15,"tag":23,"props":981,"children":983},{"className":982},[],[984],{"type":20,"value":985},"GetTextAvailableBounds(style)",{"type":15,"tag":547,"props":987,"children":988},{},[989],{"type":15,"tag":23,"props":990,"children":992},{"className":991},[],[993],{"type":20,"value":968},{"type":15,"tag":547,"props":995,"children":996},{},[997],{"type":20,"value":998},"テキスト領域の境界を取得",{"type":15,"tag":521,"props":1000,"children":1001},{},[1002,1011,1020],{"type":15,"tag":547,"props":1003,"children":1004},{},[1005],{"type":15,"tag":23,"props":1006,"children":1008},{"className":1007},[],[1009],{"type":20,"value":1010},"CalcCellContentWidth(cell, width)",{"type":15,"tag":547,"props":1012,"children":1013},{},[1014],{"type":15,"tag":23,"props":1015,"children":1017},{"className":1016},[],[1018],{"type":20,"value":1019},"float",{"type":15,"tag":547,"props":1021,"children":1022},{},[1023],{"type":20,"value":1024},"コンテンツ幅を計算",{"type":15,"tag":521,"props":1026,"children":1027},{},[1028,1037,1045],{"type":15,"tag":547,"props":1029,"children":1030},{},[1031],{"type":15,"tag":23,"props":1032,"children":1034},{"className":1033},[],[1035],{"type":20,"value":1036},"CalcCellContentHeight(cell, height)",{"type":15,"tag":547,"props":1038,"children":1039},{},[1040],{"type":15,"tag":23,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":20,"value":1019},{"type":15,"tag":547,"props":1046,"children":1047},{},[1048],{"type":20,"value":1049},"コンテンツ高さを計算",{"type":15,"tag":507,"props":1051,"children":1053},{"id":1052},"マウスメソッド",[1054],{"type":20,"value":1052},{"type":15,"tag":16,"props":1056,"children":1057},{},[1058,1060,1065,1067,1073,1075,1080],{"type":20,"value":1059},"すべて ",{"type":15,"tag":23,"props":1061,"children":1063},{"className":1062},[],[1064],{"type":20,"value":680},{"type":20,"value":1066}," を返します。",{"type":15,"tag":23,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":20,"value":1072},"true",{"type":20,"value":1074}," を返すとイベントを消費し、",{"type":15,"tag":23,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":20,"value":691},{"type":20,"value":1081}," でデフォルト動作になります。",{"type":15,"tag":513,"props":1083,"children":1084},{},[1085,1099],{"type":15,"tag":517,"props":1086,"children":1087},{},[1088],{"type":15,"tag":521,"props":1089,"children":1090},{},[1091,1095],{"type":15,"tag":525,"props":1092,"children":1093},{},[1094],{"type":20,"value":595},{"type":15,"tag":525,"props":1096,"children":1097},{},[1098],{"type":20,"value":538},{"type":15,"tag":540,"props":1100,"children":1101},{},[1102,1119,1136,1153,1170,1187],{"type":15,"tag":521,"props":1103,"children":1104},{},[1105,1114],{"type":15,"tag":547,"props":1106,"children":1107},{},[1108],{"type":15,"tag":23,"props":1109,"children":1111},{"className":1110},[],[1112],{"type":20,"value":1113},"OnMouseDown(CellMouseEventArgs e)",{"type":15,"tag":547,"props":1115,"children":1116},{},[1117],{"type":20,"value":1118},"マウスボタンが押された",{"type":15,"tag":521,"props":1120,"children":1121},{},[1122,1131],{"type":15,"tag":547,"props":1123,"children":1124},{},[1125],{"type":15,"tag":23,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":20,"value":1130},"OnMouseUp(CellMouseEventArgs e)",{"type":15,"tag":547,"props":1132,"children":1133},{},[1134],{"type":20,"value":1135},"マウスボタンが離された",{"type":15,"tag":521,"props":1137,"children":1138},{},[1139,1148],{"type":15,"tag":547,"props":1140,"children":1141},{},[1142],{"type":15,"tag":23,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":20,"value":1147},"OnMouseMove(CellMouseEventArgs e)",{"type":15,"tag":547,"props":1149,"children":1150},{},[1151],{"type":20,"value":1152},"マウスが境界内で移動した",{"type":15,"tag":521,"props":1154,"children":1155},{},[1156,1165],{"type":15,"tag":547,"props":1157,"children":1158},{},[1159],{"type":15,"tag":23,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":20,"value":1164},"OnMouseEnter(CellMouseEventArgs e)",{"type":15,"tag":547,"props":1166,"children":1167},{},[1168],{"type":20,"value":1169},"マウスが境界に入った",{"type":15,"tag":521,"props":1171,"children":1172},{},[1173,1182],{"type":15,"tag":547,"props":1174,"children":1175},{},[1176],{"type":15,"tag":23,"props":1177,"children":1179},{"className":1178},[],[1180],{"type":20,"value":1181},"OnMouseLeave(CellMouseEventArgs e)",{"type":15,"tag":547,"props":1183,"children":1184},{},[1185],{"type":20,"value":1186},"マウスが境界を出た",{"type":15,"tag":521,"props":1188,"children":1189},{},[1190,1199],{"type":15,"tag":547,"props":1191,"children":1192},{},[1193],{"type":15,"tag":23,"props":1194,"children":1196},{"className":1195},[],[1197],{"type":20,"value":1198},"OnMouseWheel(CellMouseEventArgs e)",{"type":15,"tag":547,"props":1200,"children":1201},{},[1202],{"type":20,"value":1203},"マウスホイールがスクロールされた（void）",{"type":15,"tag":507,"props":1205,"children":1207},{"id":1206},"キーボードメソッド",[1208],{"type":20,"value":1206},{"type":15,"tag":513,"props":1210,"children":1211},{},[1212,1230],{"type":15,"tag":517,"props":1213,"children":1214},{},[1215],{"type":15,"tag":521,"props":1216,"children":1217},{},[1218,1222,1226],{"type":15,"tag":525,"props":1219,"children":1220},{},[1221],{"type":20,"value":595},{"type":15,"tag":525,"props":1223,"children":1224},{},[1225],{"type":20,"value":600},{"type":15,"tag":525,"props":1227,"children":1228},{},[1229],{"type":20,"value":538},{"type":15,"tag":540,"props":1231,"children":1232},{},[1233,1265],{"type":15,"tag":521,"props":1234,"children":1235},{},[1236,1245,1253],{"type":15,"tag":547,"props":1237,"children":1238},{},[1239],{"type":15,"tag":23,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":20,"value":1244},"OnKeyDown(KeyCode e)",{"type":15,"tag":547,"props":1246,"children":1247},{},[1248],{"type":15,"tag":23,"props":1249,"children":1251},{"className":1250},[],[1252],{"type":20,"value":680},{"type":15,"tag":547,"props":1254,"children":1255},{},[1256,1258,1263],{"type":20,"value":1257},"キーが押された。",{"type":15,"tag":23,"props":1259,"children":1261},{"className":1260},[],[1262],{"type":20,"value":1072},{"type":20,"value":1264}," を返すと消費",{"type":15,"tag":521,"props":1266,"children":1267},{},[1268,1277,1285],{"type":15,"tag":547,"props":1269,"children":1270},{},[1271],{"type":15,"tag":23,"props":1272,"children":1274},{"className":1273},[],[1275],{"type":20,"value":1276},"OnKeyUp(KeyCode e)",{"type":15,"tag":547,"props":1278,"children":1279},{},[1280],{"type":15,"tag":23,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":20,"value":680},{"type":15,"tag":547,"props":1286,"children":1287},{},[1288,1290,1295],{"type":20,"value":1289},"キーが離された。",{"type":15,"tag":23,"props":1291,"children":1293},{"className":1292},[],[1294],{"type":20,"value":1072},{"type":20,"value":1264},{"type":15,"tag":507,"props":1297,"children":1299},{"id":1298},"動作プロパティ",[1300],{"type":20,"value":1298},{"type":15,"tag":513,"props":1302,"children":1303},{},[1304,1327],{"type":15,"tag":517,"props":1305,"children":1306},{},[1307],{"type":15,"tag":521,"props":1308,"children":1309},{},[1310,1314,1318,1323],{"type":15,"tag":525,"props":1311,"children":1312},{},[1313],{"type":20,"value":509},{"type":15,"tag":525,"props":1315,"children":1316},{},[1317],{"type":20,"value":533},{"type":15,"tag":525,"props":1319,"children":1320},{},[1321],{"type":20,"value":1322},"デフォルト",{"type":15,"tag":525,"props":1324,"children":1325},{},[1326],{"type":20,"value":538},{"type":15,"tag":540,"props":1328,"children":1329},{},[1330,1363],{"type":15,"tag":521,"props":1331,"children":1332},{},[1333,1342,1350,1358],{"type":15,"tag":547,"props":1334,"children":1335},{},[1336],{"type":15,"tag":23,"props":1337,"children":1339},{"className":1338},[],[1340],{"type":20,"value":1341},"DisableWhenCellReadonly",{"type":15,"tag":547,"props":1343,"children":1344},{},[1345],{"type":15,"tag":23,"props":1346,"children":1348},{"className":1347},[],[1349],{"type":20,"value":680},{"type":15,"tag":547,"props":1351,"children":1352},{},[1353],{"type":15,"tag":23,"props":1354,"children":1356},{"className":1355},[],[1357],{"type":20,"value":1072},{"type":15,"tag":547,"props":1359,"children":1360},{},[1361],{"type":20,"value":1362},"セルが読み取り専用のときにボディを無効化",{"type":15,"tag":521,"props":1364,"children":1365},{},[1366,1375,1383,1391],{"type":15,"tag":547,"props":1367,"children":1368},{},[1369],{"type":15,"tag":23,"props":1370,"children":1372},{"className":1371},[],[1373],{"type":20,"value":1374},"AutoCaptureMouse()",{"type":15,"tag":547,"props":1376,"children":1377},{},[1378],{"type":15,"tag":23,"props":1379,"children":1381},{"className":1380},[],[1382],{"type":20,"value":680},{"type":15,"tag":547,"props":1384,"children":1385},{},[1386],{"type":15,"tag":23,"props":1387,"children":1389},{"className":1388},[],[1390],{"type":20,"value":1072},{"type":15,"tag":547,"props":1392,"children":1393},{},[1394],{"type":20,"value":1395},"マウスダウン後にマウスイベントをキャプチャ",{"type":15,"tag":49,"props":1397,"children":1399},{"id":1398},"celldrawingcontext",[1400],{"type":20,"value":258},{"type":15,"tag":16,"props":1402,"children":1403},{},[1404,1409,1411,1417],{"type":15,"tag":23,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":20,"value":258},{"type":20,"value":1410}," は ",{"type":15,"tag":23,"props":1412,"children":1414},{"className":1413},[],[1415],{"type":20,"value":1416},"OnPaint",{"type":20,"value":1418}," の描画サーフェスを提供します。",{"type":15,"tag":513,"props":1420,"children":1421},{},[1422,1441],{"type":15,"tag":517,"props":1423,"children":1424},{},[1425],{"type":15,"tag":521,"props":1426,"children":1427},{},[1428,1433,1437],{"type":15,"tag":525,"props":1429,"children":1430},{},[1431],{"type":20,"value":1432},"メンバー",{"type":15,"tag":525,"props":1434,"children":1435},{},[1436],{"type":20,"value":533},{"type":15,"tag":525,"props":1438,"children":1439},{},[1440],{"type":20,"value":538},{"type":15,"tag":540,"props":1442,"children":1443},{},[1444,1468,1494,1519,1544,1568],{"type":15,"tag":521,"props":1445,"children":1446},{},[1447,1455,1463],{"type":15,"tag":547,"props":1448,"children":1449},{},[1450],{"type":15,"tag":23,"props":1451,"children":1453},{"className":1452},[],[1454],{"type":20,"value":555},{"type":15,"tag":547,"props":1456,"children":1457},{},[1458],{"type":15,"tag":23,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":20,"value":555},{"type":15,"tag":547,"props":1464,"children":1465},{},[1466],{"type":20,"value":1467},"レンダリングされるセル",{"type":15,"tag":521,"props":1469,"children":1470},{},[1471,1480,1489],{"type":15,"tag":547,"props":1472,"children":1473},{},[1474],{"type":15,"tag":23,"props":1475,"children":1477},{"className":1476},[],[1478],{"type":20,"value":1479},"Graphics",{"type":15,"tag":547,"props":1481,"children":1482},{},[1483],{"type":15,"tag":23,"props":1484,"children":1486},{"className":1485},[],[1487],{"type":20,"value":1488},"IGraphics",{"type":15,"tag":547,"props":1490,"children":1491},{},[1492],{"type":20,"value":1493},"プラットフォーム非依存のグラフィックスコンテキスト",{"type":15,"tag":521,"props":1495,"children":1496},{},[1497,1506,1514],{"type":15,"tag":547,"props":1498,"children":1499},{},[1500],{"type":15,"tag":23,"props":1501,"children":1503},{"className":1502},[],[1504],{"type":20,"value":1505},"Worksheet",{"type":15,"tag":547,"props":1507,"children":1508},{},[1509],{"type":15,"tag":23,"props":1510,"children":1512},{"className":1511},[],[1513],{"type":20,"value":1505},{"type":15,"tag":547,"props":1515,"children":1516},{},[1517],{"type":20,"value":1518},"親ワークシート",{"type":15,"tag":521,"props":1520,"children":1521},{},[1522,1531,1539],{"type":15,"tag":547,"props":1523,"children":1524},{},[1525],{"type":15,"tag":23,"props":1526,"children":1528},{"className":1527},[],[1529],{"type":20,"value":1530},"DrawMode",{"type":15,"tag":547,"props":1532,"children":1533},{},[1534],{"type":15,"tag":23,"props":1535,"children":1537},{"className":1536},[],[1538],{"type":20,"value":1530},{"type":15,"tag":547,"props":1540,"children":1541},{},[1542],{"type":20,"value":1543},"現在のレンダリングモード",{"type":15,"tag":521,"props":1545,"children":1546},{},[1547,1556,1564],{"type":15,"tag":547,"props":1548,"children":1549},{},[1550],{"type":15,"tag":23,"props":1551,"children":1553},{"className":1552},[],[1554],{"type":20,"value":1555},"DrawCellBackground(bool calcScale)",{"type":15,"tag":547,"props":1557,"children":1558},{},[1559],{"type":15,"tag":23,"props":1560,"children":1562},{"className":1561},[],[1563],{"type":20,"value":628},{"type":15,"tag":547,"props":1565,"children":1566},{},[1567],{"type":20,"value":947},{"type":15,"tag":521,"props":1569,"children":1570},{},[1571,1580,1588],{"type":15,"tag":547,"props":1572,"children":1573},{},[1574],{"type":15,"tag":23,"props":1575,"children":1577},{"className":1576},[],[1578],{"type":20,"value":1579},"DrawCellText()",{"type":15,"tag":547,"props":1581,"children":1582},{},[1583],{"type":15,"tag":23,"props":1584,"children":1586},{"className":1585},[],[1587],{"type":20,"value":628},{"type":15,"tag":547,"props":1589,"children":1590},{},[1591],{"type":20,"value":1592},"デフォルトのセルテキストを描画",{"type":15,"tag":49,"props":1594,"children":1596},{"id":1595},"contentcellbody基底クラス",[1597],{"type":20,"value":1598},"ContentCellBody基底クラス",{"type":15,"tag":16,"props":1600,"children":1601},{},[1602,1604,1610],{"type":20,"value":1603},"コンテンツ領域を持つセルボディ（チェックボックスやラジオボタンなど）の場合、",{"type":15,"tag":23,"props":1605,"children":1607},{"className":1606},[],[1608],{"type":20,"value":1609},"ContentCellBody",{"type":20,"value":1611}," を継承します。",{"type":15,"tag":513,"props":1613,"children":1614},{},[1615,1629],{"type":15,"tag":517,"props":1616,"children":1617},{},[1618],{"type":15,"tag":521,"props":1619,"children":1620},{},[1621,1625],{"type":15,"tag":525,"props":1622,"children":1623},{},[1624],{"type":20,"value":595},{"type":15,"tag":525,"props":1626,"children":1627},{},[1628],{"type":20,"value":538},{"type":15,"tag":540,"props":1630,"children":1631},{},[1632,1649,1666],{"type":15,"tag":521,"props":1633,"children":1634},{},[1635,1644],{"type":15,"tag":547,"props":1636,"children":1637},{},[1638],{"type":15,"tag":23,"props":1639,"children":1641},{"className":1640},[],[1642],{"type":20,"value":1643},"GetContentSize()",{"type":15,"tag":547,"props":1645,"children":1646},{},[1647],{"type":20,"value":1648},"推奨コンテンツサイズを返す（デフォルト: 17x17）",{"type":15,"tag":521,"props":1650,"children":1651},{},[1652,1661],{"type":15,"tag":547,"props":1653,"children":1654},{},[1655],{"type":15,"tag":23,"props":1656,"children":1658},{"className":1657},[],[1659],{"type":20,"value":1660},"GetContentBounds()",{"type":15,"tag":547,"props":1662,"children":1663},{},[1664],{"type":20,"value":1665},"セルスタイルに基づいて配置されたコンテンツ境界を取得（HAlign/VAlign）",{"type":15,"tag":521,"props":1667,"children":1668},{},[1669,1678],{"type":15,"tag":547,"props":1670,"children":1671},{},[1672],{"type":15,"tag":23,"props":1673,"children":1675},{"className":1674},[],[1676],{"type":20,"value":1677},"OnContentPaint(CellDrawingContext dc)",{"type":15,"tag":547,"props":1679,"children":1680},{},[1681],{"type":20,"value":1682},"コンテンツ領域を描画するためにオーバーライド",{"type":15,"tag":49,"props":1684,"children":1686},{"id":1685},"オーナー描画",[1687],{"type":20,"value":1685},{"type":15,"tag":507,"props":1689,"children":1691},{"id":1690},"楕円の描画",[1692],{"type":20,"value":1690},{"type":15,"tag":55,"props":1694,"children":1696},{"code":1695,"language":58,"meta":7,"className":59,"style":7},"class EllipseCell : CellBody\n{\n    public override void OnPaint(CellDrawingContext dc)\n    {\n        var bounds = GetBodyBounds();\n        dc.Graphics.DrawEllipse(Pens.Blue,\n            new Rectangle(0, 0, bounds.Width, bounds.Height));\n    }\n}\n",[1697],{"type":15,"tag":23,"props":1698,"children":1699},{"__ignoreMap":7},[1700,1720,1727,1762,1769,1796,1814,1850,1857],{"type":15,"tag":65,"props":1701,"children":1702},{"class":67,"line":68},[1703,1707,1712,1716],{"type":15,"tag":65,"props":1704,"children":1705},{"style":72},[1706],{"type":20,"value":202},{"type":15,"tag":65,"props":1708,"children":1709},{"style":78},[1710],{"type":20,"value":1711}," EllipseCell",{"type":15,"tag":65,"props":1713,"children":1714},{"style":84},[1715],{"type":20,"value":212},{"type":15,"tag":65,"props":1717,"children":1718},{"style":78},[1719],{"type":20,"value":217},{"type":15,"tag":65,"props":1721,"children":1722},{"class":67,"line":109},[1723],{"type":15,"tag":65,"props":1724,"children":1725},{"style":84},[1726],{"type":20,"value":225},{"type":15,"tag":65,"props":1728,"children":1729},{"class":67,"line":142},[1730,1734,1738,1742,1746,1750,1754,1758],{"type":15,"tag":65,"props":1731,"children":1732},{"style":72},[1733],{"type":20,"value":233},{"type":15,"tag":65,"props":1735,"children":1736},{"style":72},[1737],{"type":20,"value":238},{"type":15,"tag":65,"props":1739,"children":1740},{"style":72},[1741],{"type":20,"value":243},{"type":15,"tag":65,"props":1743,"children":1744},{"style":78},[1745],{"type":20,"value":248},{"type":15,"tag":65,"props":1747,"children":1748},{"style":84},[1749],{"type":20,"value":253},{"type":15,"tag":65,"props":1751,"children":1752},{"style":78},[1753],{"type":20,"value":258},{"type":15,"tag":65,"props":1755,"children":1756},{"style":78},[1757],{"type":20,"value":263},{"type":15,"tag":65,"props":1759,"children":1760},{"style":84},[1761],{"type":20,"value":268},{"type":15,"tag":65,"props":1763,"children":1764},{"class":67,"line":271},[1765],{"type":15,"tag":65,"props":1766,"children":1767},{"style":84},[1768],{"type":20,"value":277},{"type":15,"tag":65,"props":1770,"children":1771},{"class":67,"line":280},[1772,1777,1782,1787,1792],{"type":15,"tag":65,"props":1773,"children":1774},{"style":72},[1775],{"type":20,"value":1776},"        var",{"type":15,"tag":65,"props":1778,"children":1779},{"style":78},[1780],{"type":20,"value":1781}," bounds",{"type":15,"tag":65,"props":1783,"children":1784},{"style":72},[1785],{"type":20,"value":1786}," =",{"type":15,"tag":65,"props":1788,"children":1789},{"style":78},[1790],{"type":20,"value":1791}," GetBodyBounds",{"type":15,"tag":65,"props":1793,"children":1794},{"style":84},[1795],{"type":20,"value":296},{"type":15,"tag":65,"props":1797,"children":1798},{"class":67,"line":299},[1799,1804,1809],{"type":15,"tag":65,"props":1800,"children":1801},{"style":84},[1802],{"type":20,"value":1803},"        dc.Graphics.",{"type":15,"tag":65,"props":1805,"children":1806},{"style":78},[1807],{"type":20,"value":1808},"DrawEllipse",{"type":15,"tag":65,"props":1810,"children":1811},{"style":84},[1812],{"type":20,"value":1813},"(Pens.Blue,\n",{"type":15,"tag":65,"props":1815,"children":1816},{"class":67,"line":309},[1817,1822,1827,1831,1836,1841,1845],{"type":15,"tag":65,"props":1818,"children":1819},{"style":72},[1820],{"type":20,"value":1821},"            new",{"type":15,"tag":65,"props":1823,"children":1824},{"style":78},[1825],{"type":20,"value":1826}," Rectangle",{"type":15,"tag":65,"props":1828,"children":1829},{"style":84},[1830],{"type":20,"value":253},{"type":15,"tag":65,"props":1832,"children":1833},{"style":475},[1834],{"type":20,"value":1835},"0",{"type":15,"tag":65,"props":1837,"children":1838},{"style":84},[1839],{"type":20,"value":1840},", ",{"type":15,"tag":65,"props":1842,"children":1843},{"style":475},[1844],{"type":20,"value":1835},{"type":15,"tag":65,"props":1846,"children":1847},{"style":84},[1848],{"type":20,"value":1849},", bounds.Width, bounds.Height));\n",{"type":15,"tag":65,"props":1851,"children":1852},{"class":67,"line":326},[1853],{"type":15,"tag":65,"props":1854,"children":1855},{"style":84},[1856],{"type":20,"value":332},{"type":15,"tag":65,"props":1858,"children":1859},{"class":67,"line":335},[1860],{"type":15,"tag":65,"props":1861,"children":1862},{"style":84},[1863],{"type":20,"value":341},{"type":15,"tag":16,"props":1865,"children":1866},{},[1867],{"type":15,"tag":43,"props":1868,"children":1871},{"alt":1869,"src":1870},"25","/document/images/25-1.png",[],{"type":15,"tag":507,"props":1873,"children":1875},{"id":1874},"デフォルトの背景とテキストの描画",[1876],{"type":20,"value":1874},{"type":15,"tag":16,"props":1878,"children":1879},{},[1880,1886,1888,1893],{"type":15,"tag":23,"props":1881,"children":1883},{"className":1882},[],[1884],{"type":20,"value":1885},"DrawCellBackground()",{"type":20,"value":1887}," と ",{"type":15,"tag":23,"props":1889,"children":1891},{"className":1890},[],[1892],{"type":20,"value":1579},{"type":20,"value":1894}," を呼び出してデフォルトのレンダリングを含めます。",{"type":15,"tag":55,"props":1896,"children":1898},{"code":1897,"language":58,"meta":7,"className":59,"style":7},"public override void OnPaint(CellDrawingContext dc)\n{\n    dc.DrawCellBackground();\n    // Custom drawing between background and text\n    dc.DrawCellText();\n    // Additional drawing on top\n}\n",[1899],{"type":15,"tag":23,"props":1900,"children":1901},{"__ignoreMap":7},[1902,1938,1945,1961,1969,1984,1992],{"type":15,"tag":65,"props":1903,"children":1904},{"class":67,"line":68},[1905,1910,1914,1918,1922,1926,1930,1934],{"type":15,"tag":65,"props":1906,"children":1907},{"style":72},[1908],{"type":20,"value":1909},"public",{"type":15,"tag":65,"props":1911,"children":1912},{"style":72},[1913],{"type":20,"value":238},{"type":15,"tag":65,"props":1915,"children":1916},{"style":72},[1917],{"type":20,"value":243},{"type":15,"tag":65,"props":1919,"children":1920},{"style":78},[1921],{"type":20,"value":248},{"type":15,"tag":65,"props":1923,"children":1924},{"style":84},[1925],{"type":20,"value":253},{"type":15,"tag":65,"props":1927,"children":1928},{"style":78},[1929],{"type":20,"value":258},{"type":15,"tag":65,"props":1931,"children":1932},{"style":78},[1933],{"type":20,"value":263},{"type":15,"tag":65,"props":1935,"children":1936},{"style":84},[1937],{"type":20,"value":268},{"type":15,"tag":65,"props":1939,"children":1940},{"class":67,"line":109},[1941],{"type":15,"tag":65,"props":1942,"children":1943},{"style":84},[1944],{"type":20,"value":225},{"type":15,"tag":65,"props":1946,"children":1947},{"class":67,"line":142},[1948,1953,1957],{"type":15,"tag":65,"props":1949,"children":1950},{"style":84},[1951],{"type":20,"value":1952},"    dc.",{"type":15,"tag":65,"props":1954,"children":1955},{"style":78},[1956],{"type":20,"value":291},{"type":15,"tag":65,"props":1958,"children":1959},{"style":84},[1960],{"type":20,"value":296},{"type":15,"tag":65,"props":1962,"children":1963},{"class":67,"line":271},[1964],{"type":15,"tag":65,"props":1965,"children":1966},{"style":303},[1967],{"type":20,"value":1968},"    // Custom drawing between background and text\n",{"type":15,"tag":65,"props":1970,"children":1971},{"class":67,"line":280},[1972,1976,1980],{"type":15,"tag":65,"props":1973,"children":1974},{"style":84},[1975],{"type":20,"value":1952},{"type":15,"tag":65,"props":1977,"children":1978},{"style":78},[1979],{"type":20,"value":319},{"type":15,"tag":65,"props":1981,"children":1982},{"style":84},[1983],{"type":20,"value":296},{"type":15,"tag":65,"props":1985,"children":1986},{"class":67,"line":299},[1987],{"type":15,"tag":65,"props":1988,"children":1989},{"style":303},[1990],{"type":20,"value":1991},"    // Additional drawing on top\n",{"type":15,"tag":65,"props":1993,"children":1994},{"class":67,"line":309},[1995],{"type":15,"tag":65,"props":1996,"children":1997},{"style":84},[1998],{"type":20,"value":341},{"type":15,"tag":16,"props":2000,"children":2001},{},[2002],{"type":15,"tag":43,"props":2003,"children":2006},{"alt":2004,"src":2005},"382","/document/images/382.png",[],{"type":15,"tag":507,"props":2008,"children":2010},{"id":2009},"対角線の描画",[2011],{"type":20,"value":2009},{"type":15,"tag":55,"props":2013,"children":2015},{"code":2014,"language":58,"meta":7,"className":59,"style":7},"class DiagonalLineCell : CellBody\n{\n    public bool FromTopLeft { get; set; } = true;\n\n    public override void OnPaint(CellDrawingContext dc)\n    {\n        var bounds = GetBodyBounds();\n        if (FromTopLeft)\n            dc.Graphics.DrawLine(Pens.Black, new Point(0, 0),\n                new Point(bounds.Right, bounds.Bottom));\n        else\n            dc.Graphics.DrawLine(Pens.Black, new Point(0, bounds.Bottom),\n                new Point(bounds.Right, 0));\n    }\n}\n\nsheet[\"B2\"] = new DiagonalLineCell();\nsheet[\"D2\"] = new DiagonalLineCell { FromTopLeft = false };\n",[2016],{"type":15,"tag":23,"props":2017,"children":2018},{"__ignoreMap":7},[2019,2039,2046,2101,2108,2143,2150,2173,2186,2235,2252,2260,2296,2321,2328,2336,2344,2377],{"type":15,"tag":65,"props":2020,"children":2021},{"class":67,"line":68},[2022,2026,2031,2035],{"type":15,"tag":65,"props":2023,"children":2024},{"style":72},[2025],{"type":20,"value":202},{"type":15,"tag":65,"props":2027,"children":2028},{"style":78},[2029],{"type":20,"value":2030}," DiagonalLineCell",{"type":15,"tag":65,"props":2032,"children":2033},{"style":84},[2034],{"type":20,"value":212},{"type":15,"tag":65,"props":2036,"children":2037},{"style":78},[2038],{"type":20,"value":217},{"type":15,"tag":65,"props":2040,"children":2041},{"class":67,"line":109},[2042],{"type":15,"tag":65,"props":2043,"children":2044},{"style":84},[2045],{"type":20,"value":225},{"type":15,"tag":65,"props":2047,"children":2048},{"class":67,"line":142},[2049,2053,2058,2063,2068,2073,2078,2083,2088,2092,2097],{"type":15,"tag":65,"props":2050,"children":2051},{"style":72},[2052],{"type":20,"value":233},{"type":15,"tag":65,"props":2054,"children":2055},{"style":72},[2056],{"type":20,"value":2057}," bool",{"type":15,"tag":65,"props":2059,"children":2060},{"style":78},[2061],{"type":20,"value":2062}," FromTopLeft",{"type":15,"tag":65,"props":2064,"children":2065},{"style":84},[2066],{"type":20,"value":2067}," { ",{"type":15,"tag":65,"props":2069,"children":2070},{"style":72},[2071],{"type":20,"value":2072},"get",{"type":15,"tag":65,"props":2074,"children":2075},{"style":84},[2076],{"type":20,"value":2077},"; ",{"type":15,"tag":65,"props":2079,"children":2080},{"style":72},[2081],{"type":20,"value":2082},"set",{"type":15,"tag":65,"props":2084,"children":2085},{"style":84},[2086],{"type":20,"value":2087},"; } ",{"type":15,"tag":65,"props":2089,"children":2090},{"style":72},[2091],{"type":20,"value":385},{"type":15,"tag":65,"props":2093,"children":2094},{"style":475},[2095],{"type":20,"value":2096}," true",{"type":15,"tag":65,"props":2098,"children":2099},{"style":84},[2100],{"type":20,"value":106},{"type":15,"tag":65,"props":2102,"children":2103},{"class":67,"line":271},[2104],{"type":15,"tag":65,"props":2105,"children":2106},{"emptyLinePlaceholder":348},[2107],{"type":20,"value":351},{"type":15,"tag":65,"props":2109,"children":2110},{"class":67,"line":280},[2111,2115,2119,2123,2127,2131,2135,2139],{"type":15,"tag":65,"props":2112,"children":2113},{"style":72},[2114],{"type":20,"value":233},{"type":15,"tag":65,"props":2116,"children":2117},{"style":72},[2118],{"type":20,"value":238},{"type":15,"tag":65,"props":2120,"children":2121},{"style":72},[2122],{"type":20,"value":243},{"type":15,"tag":65,"props":2124,"children":2125},{"style":78},[2126],{"type":20,"value":248},{"type":15,"tag":65,"props":2128,"children":2129},{"style":84},[2130],{"type":20,"value":253},{"type":15,"tag":65,"props":2132,"children":2133},{"style":78},[2134],{"type":20,"value":258},{"type":15,"tag":65,"props":2136,"children":2137},{"style":78},[2138],{"type":20,"value":263},{"type":15,"tag":65,"props":2140,"children":2141},{"style":84},[2142],{"type":20,"value":268},{"type":15,"tag":65,"props":2144,"children":2145},{"class":67,"line":299},[2146],{"type":15,"tag":65,"props":2147,"children":2148},{"style":84},[2149],{"type":20,"value":277},{"type":15,"tag":65,"props":2151,"children":2152},{"class":67,"line":309},[2153,2157,2161,2165,2169],{"type":15,"tag":65,"props":2154,"children":2155},{"style":72},[2156],{"type":20,"value":1776},{"type":15,"tag":65,"props":2158,"children":2159},{"style":78},[2160],{"type":20,"value":1781},{"type":15,"tag":65,"props":2162,"children":2163},{"style":72},[2164],{"type":20,"value":1786},{"type":15,"tag":65,"props":2166,"children":2167},{"style":78},[2168],{"type":20,"value":1791},{"type":15,"tag":65,"props":2170,"children":2171},{"style":84},[2172],{"type":20,"value":296},{"type":15,"tag":65,"props":2174,"children":2175},{"class":67,"line":326},[2176,2181],{"type":15,"tag":65,"props":2177,"children":2178},{"style":72},[2179],{"type":20,"value":2180},"        if",{"type":15,"tag":65,"props":2182,"children":2183},{"style":84},[2184],{"type":20,"value":2185}," (FromTopLeft)\n",{"type":15,"tag":65,"props":2187,"children":2188},{"class":67,"line":335},[2189,2194,2199,2204,2209,2214,2218,2222,2226,2230],{"type":15,"tag":65,"props":2190,"children":2191},{"style":84},[2192],{"type":20,"value":2193},"            dc.Graphics.",{"type":15,"tag":65,"props":2195,"children":2196},{"style":78},[2197],{"type":20,"value":2198},"DrawLine",{"type":15,"tag":65,"props":2200,"children":2201},{"style":84},[2202],{"type":20,"value":2203},"(Pens.Black, ",{"type":15,"tag":65,"props":2205,"children":2206},{"style":72},[2207],{"type":20,"value":2208},"new",{"type":15,"tag":65,"props":2210,"children":2211},{"style":78},[2212],{"type":20,"value":2213}," Point",{"type":15,"tag":65,"props":2215,"children":2216},{"style":84},[2217],{"type":20,"value":253},{"type":15,"tag":65,"props":2219,"children":2220},{"style":475},[2221],{"type":20,"value":1835},{"type":15,"tag":65,"props":2223,"children":2224},{"style":84},[2225],{"type":20,"value":1840},{"type":15,"tag":65,"props":2227,"children":2228},{"style":475},[2229],{"type":20,"value":1835},{"type":15,"tag":65,"props":2231,"children":2232},{"style":84},[2233],{"type":20,"value":2234},"),\n",{"type":15,"tag":65,"props":2236,"children":2237},{"class":67,"line":344},[2238,2243,2247],{"type":15,"tag":65,"props":2239,"children":2240},{"style":72},[2241],{"type":20,"value":2242},"                new",{"type":15,"tag":65,"props":2244,"children":2245},{"style":78},[2246],{"type":20,"value":2213},{"type":15,"tag":65,"props":2248,"children":2249},{"style":84},[2250],{"type":20,"value":2251},"(bounds.Right, bounds.Bottom));\n",{"type":15,"tag":65,"props":2253,"children":2254},{"class":67,"line":354},[2255],{"type":15,"tag":65,"props":2256,"children":2257},{"style":72},[2258],{"type":20,"value":2259},"        else\n",{"type":15,"tag":65,"props":2261,"children":2262},{"class":67,"line":363},[2263,2267,2271,2275,2279,2283,2287,2291],{"type":15,"tag":65,"props":2264,"children":2265},{"style":84},[2266],{"type":20,"value":2193},{"type":15,"tag":65,"props":2268,"children":2269},{"style":78},[2270],{"type":20,"value":2198},{"type":15,"tag":65,"props":2272,"children":2273},{"style":84},[2274],{"type":20,"value":2203},{"type":15,"tag":65,"props":2276,"children":2277},{"style":72},[2278],{"type":20,"value":2208},{"type":15,"tag":65,"props":2280,"children":2281},{"style":78},[2282],{"type":20,"value":2213},{"type":15,"tag":65,"props":2284,"children":2285},{"style":84},[2286],{"type":20,"value":253},{"type":15,"tag":65,"props":2288,"children":2289},{"style":475},[2290],{"type":20,"value":1835},{"type":15,"tag":65,"props":2292,"children":2293},{"style":84},[2294],{"type":20,"value":2295},", bounds.Bottom),\n",{"type":15,"tag":65,"props":2297,"children":2298},{"class":67,"line":401},[2299,2303,2307,2312,2316],{"type":15,"tag":65,"props":2300,"children":2301},{"style":72},[2302],{"type":20,"value":2242},{"type":15,"tag":65,"props":2304,"children":2305},{"style":78},[2306],{"type":20,"value":2213},{"type":15,"tag":65,"props":2308,"children":2309},{"style":84},[2310],{"type":20,"value":2311},"(bounds.Right, ",{"type":15,"tag":65,"props":2313,"children":2314},{"style":475},[2315],{"type":20,"value":1835},{"type":15,"tag":65,"props":2317,"children":2318},{"style":84},[2319],{"type":20,"value":2320},"));\n",{"type":15,"tag":65,"props":2322,"children":2323},{"class":67,"line":410},[2324],{"type":15,"tag":65,"props":2325,"children":2326},{"style":84},[2327],{"type":20,"value":332},{"type":15,"tag":65,"props":2329,"children":2331},{"class":67,"line":2330},15,[2332],{"type":15,"tag":65,"props":2333,"children":2334},{"style":84},[2335],{"type":20,"value":341},{"type":15,"tag":65,"props":2337,"children":2339},{"class":67,"line":2338},16,[2340],{"type":15,"tag":65,"props":2341,"children":2342},{"emptyLinePlaceholder":348},[2343],{"type":20,"value":351},{"type":15,"tag":65,"props":2345,"children":2347},{"class":67,"line":2346},17,[2348,2352,2357,2361,2365,2369,2373],{"type":15,"tag":65,"props":2349,"children":2350},{"style":84},[2351],{"type":20,"value":369},{"type":15,"tag":65,"props":2353,"children":2354},{"style":372},[2355],{"type":20,"value":2356},"\"B2\"",{"type":15,"tag":65,"props":2358,"children":2359},{"style":84},[2360],{"type":20,"value":380},{"type":15,"tag":65,"props":2362,"children":2363},{"style":72},[2364],{"type":20,"value":385},{"type":15,"tag":65,"props":2366,"children":2367},{"style":72},[2368],{"type":20,"value":390},{"type":15,"tag":65,"props":2370,"children":2371},{"style":78},[2372],{"type":20,"value":2030},{"type":15,"tag":65,"props":2374,"children":2375},{"style":84},[2376],{"type":20,"value":296},{"type":15,"tag":65,"props":2378,"children":2380},{"class":67,"line":2379},18,[2381,2385,2390,2394,2398,2402,2406,2411,2415,2420],{"type":15,"tag":65,"props":2382,"children":2383},{"style":84},[2384],{"type":20,"value":369},{"type":15,"tag":65,"props":2386,"children":2387},{"style":372},[2388],{"type":20,"value":2389},"\"D2\"",{"type":15,"tag":65,"props":2391,"children":2392},{"style":84},[2393],{"type":20,"value":380},{"type":15,"tag":65,"props":2395,"children":2396},{"style":72},[2397],{"type":20,"value":385},{"type":15,"tag":65,"props":2399,"children":2400},{"style":72},[2401],{"type":20,"value":390},{"type":15,"tag":65,"props":2403,"children":2404},{"style":78},[2405],{"type":20,"value":2030},{"type":15,"tag":65,"props":2407,"children":2408},{"style":84},[2409],{"type":20,"value":2410}," { FromTopLeft ",{"type":15,"tag":65,"props":2412,"children":2413},{"style":72},[2414],{"type":20,"value":385},{"type":15,"tag":65,"props":2416,"children":2417},{"style":475},[2418],{"type":20,"value":2419}," false",{"type":15,"tag":65,"props":2421,"children":2422},{"style":84},[2423],{"type":20,"value":2424}," };\n",{"type":15,"tag":16,"props":2426,"children":2427},{},[2428],{"type":15,"tag":43,"props":2429,"children":2432},{"alt":2430,"src":2431},"185","/document/images/185.png",[],{"type":15,"tag":49,"props":2434,"children":2436},{"id":2435},"セル編集の無効化",[2437],{"type":20,"value":2435},{"type":15,"tag":16,"props":2439,"children":2440},{},[2441,2447,2449,2454],{"type":15,"tag":23,"props":2442,"children":2444},{"className":2443},[],[2445],{"type":20,"value":2446},"OnStartEdit",{"type":20,"value":2448}," から ",{"type":15,"tag":23,"props":2450,"children":2452},{"className":2451},[],[2453],{"type":20,"value":691},{"type":20,"value":2455}," を返して編集を防止します。",{"type":15,"tag":55,"props":2457,"children":2459},{"code":2458,"language":58,"meta":7,"className":59,"style":7},"class ReadOnlyBody : CellBody\n{\n    public override bool OnStartEdit() => false;\n}\n",[2460],{"type":15,"tag":23,"props":2461,"children":2462},{"__ignoreMap":7},[2463,2483,2490,2528],{"type":15,"tag":65,"props":2464,"children":2465},{"class":67,"line":68},[2466,2470,2475,2479],{"type":15,"tag":65,"props":2467,"children":2468},{"style":72},[2469],{"type":20,"value":202},{"type":15,"tag":65,"props":2471,"children":2472},{"style":78},[2473],{"type":20,"value":2474}," ReadOnlyBody",{"type":15,"tag":65,"props":2476,"children":2477},{"style":84},[2478],{"type":20,"value":212},{"type":15,"tag":65,"props":2480,"children":2481},{"style":78},[2482],{"type":20,"value":217},{"type":15,"tag":65,"props":2484,"children":2485},{"class":67,"line":109},[2486],{"type":15,"tag":65,"props":2487,"children":2488},{"style":84},[2489],{"type":20,"value":225},{"type":15,"tag":65,"props":2491,"children":2492},{"class":67,"line":142},[2493,2497,2501,2505,2510,2515,2520,2524],{"type":15,"tag":65,"props":2494,"children":2495},{"style":72},[2496],{"type":20,"value":233},{"type":15,"tag":65,"props":2498,"children":2499},{"style":72},[2500],{"type":20,"value":238},{"type":15,"tag":65,"props":2502,"children":2503},{"style":72},[2504],{"type":20,"value":2057},{"type":15,"tag":65,"props":2506,"children":2507},{"style":78},[2508],{"type":20,"value":2509}," OnStartEdit",{"type":15,"tag":65,"props":2511,"children":2512},{"style":84},[2513],{"type":20,"value":2514},"() ",{"type":15,"tag":65,"props":2516,"children":2517},{"style":72},[2518],{"type":20,"value":2519},"=>",{"type":15,"tag":65,"props":2521,"children":2522},{"style":475},[2523],{"type":20,"value":2419},{"type":15,"tag":65,"props":2525,"children":2526},{"style":84},[2527],{"type":20,"value":106},{"type":15,"tag":65,"props":2529,"children":2530},{"class":67,"line":271},[2531],{"type":15,"tag":65,"props":2532,"children":2533},{"style":84},[2534],{"type":20,"value":341},{"type":15,"tag":49,"props":2536,"children":2538},{"id":2537},"編集結果の変更",[2539],{"type":20,"value":2537},{"type":15,"tag":16,"props":2541,"children":2542},{},[2543,2549],{"type":15,"tag":23,"props":2544,"children":2546},{"className":2545},[],[2547],{"type":20,"value":2548},"OnEndEdit",{"type":20,"value":2550}," から変更されたデータを返します。",{"type":15,"tag":55,"props":2552,"children":2554},{"code":2553,"language":58,"meta":7,"className":59,"style":7},"class UpperCaseBody : CellBody\n{\n    public override object OnEndEdit(object data, EndEditReason reason)\n    {\n        if (data is string s)\n            return s.ToUpperInvariant();\n        return data;\n    }\n}\n",[2555],{"type":15,"tag":23,"props":2556,"children":2557},{"__ignoreMap":7},[2558,2578,2585,2637,2644,2675,2697,2710,2717],{"type":15,"tag":65,"props":2559,"children":2560},{"class":67,"line":68},[2561,2565,2570,2574],{"type":15,"tag":65,"props":2562,"children":2563},{"style":72},[2564],{"type":20,"value":202},{"type":15,"tag":65,"props":2566,"children":2567},{"style":78},[2568],{"type":20,"value":2569}," UpperCaseBody",{"type":15,"tag":65,"props":2571,"children":2572},{"style":84},[2573],{"type":20,"value":212},{"type":15,"tag":65,"props":2575,"children":2576},{"style":78},[2577],{"type":20,"value":217},{"type":15,"tag":65,"props":2579,"children":2580},{"class":67,"line":109},[2581],{"type":15,"tag":65,"props":2582,"children":2583},{"style":84},[2584],{"type":20,"value":225},{"type":15,"tag":65,"props":2586,"children":2587},{"class":67,"line":142},[2588,2592,2596,2601,2606,2610,2614,2619,2623,2628,2633],{"type":15,"tag":65,"props":2589,"children":2590},{"style":72},[2591],{"type":20,"value":233},{"type":15,"tag":65,"props":2593,"children":2594},{"style":72},[2595],{"type":20,"value":238},{"type":15,"tag":65,"props":2597,"children":2598},{"style":72},[2599],{"type":20,"value":2600}," object",{"type":15,"tag":65,"props":2602,"children":2603},{"style":78},[2604],{"type":20,"value":2605}," OnEndEdit",{"type":15,"tag":65,"props":2607,"children":2608},{"style":84},[2609],{"type":20,"value":253},{"type":15,"tag":65,"props":2611,"children":2612},{"style":72},[2613],{"type":20,"value":654},{"type":15,"tag":65,"props":2615,"children":2616},{"style":78},[2617],{"type":20,"value":2618}," data",{"type":15,"tag":65,"props":2620,"children":2621},{"style":84},[2622],{"type":20,"value":1840},{"type":15,"tag":65,"props":2624,"children":2625},{"style":78},[2626],{"type":20,"value":2627},"EndEditReason",{"type":15,"tag":65,"props":2629,"children":2630},{"style":78},[2631],{"type":20,"value":2632}," reason",{"type":15,"tag":65,"props":2634,"children":2635},{"style":84},[2636],{"type":20,"value":268},{"type":15,"tag":65,"props":2638,"children":2639},{"class":67,"line":271},[2640],{"type":15,"tag":65,"props":2641,"children":2642},{"style":84},[2643],{"type":20,"value":277},{"type":15,"tag":65,"props":2645,"children":2646},{"class":67,"line":280},[2647,2651,2656,2661,2666,2671],{"type":15,"tag":65,"props":2648,"children":2649},{"style":72},[2650],{"type":20,"value":2180},{"type":15,"tag":65,"props":2652,"children":2653},{"style":84},[2654],{"type":20,"value":2655}," (data ",{"type":15,"tag":65,"props":2657,"children":2658},{"style":72},[2659],{"type":20,"value":2660},"is",{"type":15,"tag":65,"props":2662,"children":2663},{"style":72},[2664],{"type":20,"value":2665}," string",{"type":15,"tag":65,"props":2667,"children":2668},{"style":78},[2669],{"type":20,"value":2670}," s",{"type":15,"tag":65,"props":2672,"children":2673},{"style":84},[2674],{"type":20,"value":268},{"type":15,"tag":65,"props":2676,"children":2677},{"class":67,"line":299},[2678,2683,2688,2693],{"type":15,"tag":65,"props":2679,"children":2680},{"style":72},[2681],{"type":20,"value":2682},"            return",{"type":15,"tag":65,"props":2684,"children":2685},{"style":84},[2686],{"type":20,"value":2687}," s.",{"type":15,"tag":65,"props":2689,"children":2690},{"style":78},[2691],{"type":20,"value":2692},"ToUpperInvariant",{"type":15,"tag":65,"props":2694,"children":2695},{"style":84},[2696],{"type":20,"value":296},{"type":15,"tag":65,"props":2698,"children":2699},{"class":67,"line":309},[2700,2705],{"type":15,"tag":65,"props":2701,"children":2702},{"style":72},[2703],{"type":20,"value":2704},"        return",{"type":15,"tag":65,"props":2706,"children":2707},{"style":84},[2708],{"type":20,"value":2709}," data;\n",{"type":15,"tag":65,"props":2711,"children":2712},{"class":67,"line":326},[2713],{"type":15,"tag":65,"props":2714,"children":2715},{"style":84},[2716],{"type":20,"value":332},{"type":15,"tag":65,"props":2718,"children":2719},{"class":67,"line":335},[2720],{"type":15,"tag":65,"props":2721,"children":2722},{"style":84},[2723],{"type":20,"value":341},{"type":15,"tag":49,"props":2725,"children":2727},{"id":2726},"マウスイベントの処理",[2728],{"type":20,"value":2726},{"type":15,"tag":55,"props":2730,"children":2732},{"code":2731,"language":58,"meta":7,"className":59,"style":7},"class ClickableProgressCell : CellBody\n{\n    public override bool OnMouseDown(CellMouseEventArgs e)\n    {\n        var bounds = GetBodyBounds();\n        int value = (int)Math.Round(e.RelativePosition.X * 100f / bounds.Width);\n        Cell.Worksheet.SetCellData(e.CellPosition, value);\n        return true; // consume the event\n    }\n\n    public override void OnPaint(CellDrawingContext dc)\n    {\n        dc.DrawCellBackground();\n        var bounds = GetBodyBounds();\n        int value = Cell?.Data is int v ? v : 0;\n        float width = bounds.Width * value / 100f;\n        dc.Graphics.FillRectangle(new Rectangle(0, 0, width, bounds.Height),\n            SolidColor.LightGreen);\n        dc.DrawCellText();\n    }\n}\n",[2733],{"type":15,"tag":23,"props":2734,"children":2735},{"__ignoreMap":7},[2736,2756,2763,2801,2808,2831,2893,2911,2931,2938,2945,2980,2987,3002,3025,3093,3137,3182,3190,3206,3214],{"type":15,"tag":65,"props":2737,"children":2738},{"class":67,"line":68},[2739,2743,2748,2752],{"type":15,"tag":65,"props":2740,"children":2741},{"style":72},[2742],{"type":20,"value":202},{"type":15,"tag":65,"props":2744,"children":2745},{"style":78},[2746],{"type":20,"value":2747}," ClickableProgressCell",{"type":15,"tag":65,"props":2749,"children":2750},{"style":84},[2751],{"type":20,"value":212},{"type":15,"tag":65,"props":2753,"children":2754},{"style":78},[2755],{"type":20,"value":217},{"type":15,"tag":65,"props":2757,"children":2758},{"class":67,"line":109},[2759],{"type":15,"tag":65,"props":2760,"children":2761},{"style":84},[2762],{"type":20,"value":225},{"type":15,"tag":65,"props":2764,"children":2765},{"class":67,"line":142},[2766,2770,2774,2778,2783,2787,2792,2797],{"type":15,"tag":65,"props":2767,"children":2768},{"style":72},[2769],{"type":20,"value":233},{"type":15,"tag":65,"props":2771,"children":2772},{"style":72},[2773],{"type":20,"value":238},{"type":15,"tag":65,"props":2775,"children":2776},{"style":72},[2777],{"type":20,"value":2057},{"type":15,"tag":65,"props":2779,"children":2780},{"style":78},[2781],{"type":20,"value":2782}," OnMouseDown",{"type":15,"tag":65,"props":2784,"children":2785},{"style":84},[2786],{"type":20,"value":253},{"type":15,"tag":65,"props":2788,"children":2789},{"style":78},[2790],{"type":20,"value":2791},"CellMouseEventArgs",{"type":15,"tag":65,"props":2793,"children":2794},{"style":78},[2795],{"type":20,"value":2796}," e",{"type":15,"tag":65,"props":2798,"children":2799},{"style":84},[2800],{"type":20,"value":268},{"type":15,"tag":65,"props":2802,"children":2803},{"class":67,"line":271},[2804],{"type":15,"tag":65,"props":2805,"children":2806},{"style":84},[2807],{"type":20,"value":277},{"type":15,"tag":65,"props":2809,"children":2810},{"class":67,"line":280},[2811,2815,2819,2823,2827],{"type":15,"tag":65,"props":2812,"children":2813},{"style":72},[2814],{"type":20,"value":1776},{"type":15,"tag":65,"props":2816,"children":2817},{"style":78},[2818],{"type":20,"value":1781},{"type":15,"tag":65,"props":2820,"children":2821},{"style":72},[2822],{"type":20,"value":1786},{"type":15,"tag":65,"props":2824,"children":2825},{"style":78},[2826],{"type":20,"value":1791},{"type":15,"tag":65,"props":2828,"children":2829},{"style":84},[2830],{"type":20,"value":296},{"type":15,"tag":65,"props":2832,"children":2833},{"class":67,"line":299},[2834,2839,2844,2848,2853,2858,2863,2868,2873,2878,2883,2888],{"type":15,"tag":65,"props":2835,"children":2836},{"style":72},[2837],{"type":20,"value":2838},"        int",{"type":15,"tag":65,"props":2840,"children":2841},{"style":78},[2842],{"type":20,"value":2843}," value",{"type":15,"tag":65,"props":2845,"children":2846},{"style":72},[2847],{"type":20,"value":1786},{"type":15,"tag":65,"props":2849,"children":2850},{"style":84},[2851],{"type":20,"value":2852}," (",{"type":15,"tag":65,"props":2854,"children":2855},{"style":72},[2856],{"type":20,"value":2857},"int",{"type":15,"tag":65,"props":2859,"children":2860},{"style":84},[2861],{"type":20,"value":2862},")Math.",{"type":15,"tag":65,"props":2864,"children":2865},{"style":78},[2866],{"type":20,"value":2867},"Round",{"type":15,"tag":65,"props":2869,"children":2870},{"style":84},[2871],{"type":20,"value":2872},"(e.RelativePosition.X ",{"type":15,"tag":65,"props":2874,"children":2875},{"style":72},[2876],{"type":20,"value":2877},"*",{"type":15,"tag":65,"props":2879,"children":2880},{"style":475},[2881],{"type":20,"value":2882}," 100f",{"type":15,"tag":65,"props":2884,"children":2885},{"style":72},[2886],{"type":20,"value":2887}," /",{"type":15,"tag":65,"props":2889,"children":2890},{"style":84},[2891],{"type":20,"value":2892}," bounds.Width);\n",{"type":15,"tag":65,"props":2894,"children":2895},{"class":67,"line":309},[2896,2901,2906],{"type":15,"tag":65,"props":2897,"children":2898},{"style":84},[2899],{"type":20,"value":2900},"        Cell.Worksheet.",{"type":15,"tag":65,"props":2902,"children":2903},{"style":78},[2904],{"type":20,"value":2905},"SetCellData",{"type":15,"tag":65,"props":2907,"children":2908},{"style":84},[2909],{"type":20,"value":2910},"(e.CellPosition, value);\n",{"type":15,"tag":65,"props":2912,"children":2913},{"class":67,"line":326},[2914,2918,2922,2926],{"type":15,"tag":65,"props":2915,"children":2916},{"style":72},[2917],{"type":20,"value":2704},{"type":15,"tag":65,"props":2919,"children":2920},{"style":475},[2921],{"type":20,"value":2096},{"type":15,"tag":65,"props":2923,"children":2924},{"style":84},[2925],{"type":20,"value":2077},{"type":15,"tag":65,"props":2927,"children":2928},{"style":303},[2929],{"type":20,"value":2930},"// consume the event\n",{"type":15,"tag":65,"props":2932,"children":2933},{"class":67,"line":335},[2934],{"type":15,"tag":65,"props":2935,"children":2936},{"style":84},[2937],{"type":20,"value":332},{"type":15,"tag":65,"props":2939,"children":2940},{"class":67,"line":344},[2941],{"type":15,"tag":65,"props":2942,"children":2943},{"emptyLinePlaceholder":348},[2944],{"type":20,"value":351},{"type":15,"tag":65,"props":2946,"children":2947},{"class":67,"line":354},[2948,2952,2956,2960,2964,2968,2972,2976],{"type":15,"tag":65,"props":2949,"children":2950},{"style":72},[2951],{"type":20,"value":233},{"type":15,"tag":65,"props":2953,"children":2954},{"style":72},[2955],{"type":20,"value":238},{"type":15,"tag":65,"props":2957,"children":2958},{"style":72},[2959],{"type":20,"value":243},{"type":15,"tag":65,"props":2961,"children":2962},{"style":78},[2963],{"type":20,"value":248},{"type":15,"tag":65,"props":2965,"children":2966},{"style":84},[2967],{"type":20,"value":253},{"type":15,"tag":65,"props":2969,"children":2970},{"style":78},[2971],{"type":20,"value":258},{"type":15,"tag":65,"props":2973,"children":2974},{"style":78},[2975],{"type":20,"value":263},{"type":15,"tag":65,"props":2977,"children":2978},{"style":84},[2979],{"type":20,"value":268},{"type":15,"tag":65,"props":2981,"children":2982},{"class":67,"line":363},[2983],{"type":15,"tag":65,"props":2984,"children":2985},{"style":84},[2986],{"type":20,"value":277},{"type":15,"tag":65,"props":2988,"children":2989},{"class":67,"line":401},[2990,2994,2998],{"type":15,"tag":65,"props":2991,"children":2992},{"style":84},[2993],{"type":20,"value":286},{"type":15,"tag":65,"props":2995,"children":2996},{"style":78},[2997],{"type":20,"value":291},{"type":15,"tag":65,"props":2999,"children":3000},{"style":84},[3001],{"type":20,"value":296},{"type":15,"tag":65,"props":3003,"children":3004},{"class":67,"line":410},[3005,3009,3013,3017,3021],{"type":15,"tag":65,"props":3006,"children":3007},{"style":72},[3008],{"type":20,"value":1776},{"type":15,"tag":65,"props":3010,"children":3011},{"style":78},[3012],{"type":20,"value":1781},{"type":15,"tag":65,"props":3014,"children":3015},{"style":72},[3016],{"type":20,"value":1786},{"type":15,"tag":65,"props":3018,"children":3019},{"style":78},[3020],{"type":20,"value":1791},{"type":15,"tag":65,"props":3022,"children":3023},{"style":84},[3024],{"type":20,"value":296},{"type":15,"tag":65,"props":3026,"children":3027},{"class":67,"line":2330},[3028,3032,3036,3040,3045,3050,3055,3059,3064,3069,3074,3079,3084,3089],{"type":15,"tag":65,"props":3029,"children":3030},{"style":72},[3031],{"type":20,"value":2838},{"type":15,"tag":65,"props":3033,"children":3034},{"style":78},[3035],{"type":20,"value":2843},{"type":15,"tag":65,"props":3037,"children":3038},{"style":72},[3039],{"type":20,"value":1786},{"type":15,"tag":65,"props":3041,"children":3042},{"style":84},[3043],{"type":20,"value":3044}," Cell",{"type":15,"tag":65,"props":3046,"children":3047},{"style":72},[3048],{"type":20,"value":3049},"?",{"type":15,"tag":65,"props":3051,"children":3052},{"style":84},[3053],{"type":20,"value":3054},".Data ",{"type":15,"tag":65,"props":3056,"children":3057},{"style":72},[3058],{"type":20,"value":2660},{"type":15,"tag":65,"props":3060,"children":3061},{"style":72},[3062],{"type":20,"value":3063}," int",{"type":15,"tag":65,"props":3065,"children":3066},{"style":78},[3067],{"type":20,"value":3068}," v",{"type":15,"tag":65,"props":3070,"children":3071},{"style":72},[3072],{"type":20,"value":3073}," ?",{"type":15,"tag":65,"props":3075,"children":3076},{"style":84},[3077],{"type":20,"value":3078}," v ",{"type":15,"tag":65,"props":3080,"children":3081},{"style":72},[3082],{"type":20,"value":3083},":",{"type":15,"tag":65,"props":3085,"children":3086},{"style":475},[3087],{"type":20,"value":3088}," 0",{"type":15,"tag":65,"props":3090,"children":3091},{"style":84},[3092],{"type":20,"value":106},{"type":15,"tag":65,"props":3094,"children":3095},{"class":67,"line":2338},[3096,3101,3106,3110,3115,3119,3124,3129,3133],{"type":15,"tag":65,"props":3097,"children":3098},{"style":72},[3099],{"type":20,"value":3100},"        float",{"type":15,"tag":65,"props":3102,"children":3103},{"style":78},[3104],{"type":20,"value":3105}," width",{"type":15,"tag":65,"props":3107,"children":3108},{"style":72},[3109],{"type":20,"value":1786},{"type":15,"tag":65,"props":3111,"children":3112},{"style":84},[3113],{"type":20,"value":3114}," bounds.Width ",{"type":15,"tag":65,"props":3116,"children":3117},{"style":72},[3118],{"type":20,"value":2877},{"type":15,"tag":65,"props":3120,"children":3121},{"style":84},[3122],{"type":20,"value":3123}," value ",{"type":15,"tag":65,"props":3125,"children":3126},{"style":72},[3127],{"type":20,"value":3128},"/",{"type":15,"tag":65,"props":3130,"children":3131},{"style":475},[3132],{"type":20,"value":2882},{"type":15,"tag":65,"props":3134,"children":3135},{"style":84},[3136],{"type":20,"value":106},{"type":15,"tag":65,"props":3138,"children":3139},{"class":67,"line":2346},[3140,3144,3149,3153,3157,3161,3165,3169,3173,3177],{"type":15,"tag":65,"props":3141,"children":3142},{"style":84},[3143],{"type":20,"value":1803},{"type":15,"tag":65,"props":3145,"children":3146},{"style":78},[3147],{"type":20,"value":3148},"FillRectangle",{"type":15,"tag":65,"props":3150,"children":3151},{"style":84},[3152],{"type":20,"value":253},{"type":15,"tag":65,"props":3154,"children":3155},{"style":72},[3156],{"type":20,"value":2208},{"type":15,"tag":65,"props":3158,"children":3159},{"style":78},[3160],{"type":20,"value":1826},{"type":15,"tag":65,"props":3162,"children":3163},{"style":84},[3164],{"type":20,"value":253},{"type":15,"tag":65,"props":3166,"children":3167},{"style":475},[3168],{"type":20,"value":1835},{"type":15,"tag":65,"props":3170,"children":3171},{"style":84},[3172],{"type":20,"value":1840},{"type":15,"tag":65,"props":3174,"children":3175},{"style":475},[3176],{"type":20,"value":1835},{"type":15,"tag":65,"props":3178,"children":3179},{"style":84},[3180],{"type":20,"value":3181},", width, bounds.Height),\n",{"type":15,"tag":65,"props":3183,"children":3184},{"class":67,"line":2379},[3185],{"type":15,"tag":65,"props":3186,"children":3187},{"style":84},[3188],{"type":20,"value":3189},"            SolidColor.LightGreen);\n",{"type":15,"tag":65,"props":3191,"children":3193},{"class":67,"line":3192},19,[3194,3198,3202],{"type":15,"tag":65,"props":3195,"children":3196},{"style":84},[3197],{"type":20,"value":286},{"type":15,"tag":65,"props":3199,"children":3200},{"style":78},[3201],{"type":20,"value":319},{"type":15,"tag":65,"props":3203,"children":3204},{"style":84},[3205],{"type":20,"value":296},{"type":15,"tag":65,"props":3207,"children":3209},{"class":67,"line":3208},20,[3210],{"type":15,"tag":65,"props":3211,"children":3212},{"style":84},[3213],{"type":20,"value":332},{"type":15,"tag":65,"props":3215,"children":3217},{"class":67,"line":3216},21,[3218],{"type":15,"tag":65,"props":3219,"children":3220},{"style":84},[3221],{"type":20,"value":341},{"type":15,"tag":16,"props":3223,"children":3224},{},[3225],{"type":15,"tag":43,"props":3226,"children":3229},{"alt":3227,"src":3228},"26 (1)","/document/images/26-1.png",[],{"type":15,"tag":49,"props":3231,"children":3233},{"id":3232},"キーボードイベントの処理",[3234],{"type":20,"value":3232},{"type":15,"tag":55,"props":3236,"children":3238},{"code":3237,"language":58,"meta":7,"className":59,"style":7},"class KeyHandlerCell : CellBody\n{\n    public override bool OnKeyDown(KeyCode e)\n    {\n        if (e == KeyCode.Space)\n        {\n            // Toggle value\n            Cell.Data = !(Cell.Data is true);\n            return true;\n        }\n        return false;\n    }\n}\n",[3239],{"type":15,"tag":23,"props":3240,"children":3241},{"__ignoreMap":7},[3242,3262,3269,3306,3313,3335,3343,3351,3386,3401,3409,3424,3431],{"type":15,"tag":65,"props":3243,"children":3244},{"class":67,"line":68},[3245,3249,3254,3258],{"type":15,"tag":65,"props":3246,"children":3247},{"style":72},[3248],{"type":20,"value":202},{"type":15,"tag":65,"props":3250,"children":3251},{"style":78},[3252],{"type":20,"value":3253}," KeyHandlerCell",{"type":15,"tag":65,"props":3255,"children":3256},{"style":84},[3257],{"type":20,"value":212},{"type":15,"tag":65,"props":3259,"children":3260},{"style":78},[3261],{"type":20,"value":217},{"type":15,"tag":65,"props":3263,"children":3264},{"class":67,"line":109},[3265],{"type":15,"tag":65,"props":3266,"children":3267},{"style":84},[3268],{"type":20,"value":225},{"type":15,"tag":65,"props":3270,"children":3271},{"class":67,"line":142},[3272,3276,3280,3284,3289,3293,3298,3302],{"type":15,"tag":65,"props":3273,"children":3274},{"style":72},[3275],{"type":20,"value":233},{"type":15,"tag":65,"props":3277,"children":3278},{"style":72},[3279],{"type":20,"value":238},{"type":15,"tag":65,"props":3281,"children":3282},{"style":72},[3283],{"type":20,"value":2057},{"type":15,"tag":65,"props":3285,"children":3286},{"style":78},[3287],{"type":20,"value":3288}," OnKeyDown",{"type":15,"tag":65,"props":3290,"children":3291},{"style":84},[3292],{"type":20,"value":253},{"type":15,"tag":65,"props":3294,"children":3295},{"style":78},[3296],{"type":20,"value":3297},"KeyCode",{"type":15,"tag":65,"props":3299,"children":3300},{"style":78},[3301],{"type":20,"value":2796},{"type":15,"tag":65,"props":3303,"children":3304},{"style":84},[3305],{"type":20,"value":268},{"type":15,"tag":65,"props":3307,"children":3308},{"class":67,"line":271},[3309],{"type":15,"tag":65,"props":3310,"children":3311},{"style":84},[3312],{"type":20,"value":277},{"type":15,"tag":65,"props":3314,"children":3315},{"class":67,"line":280},[3316,3320,3325,3330],{"type":15,"tag":65,"props":3317,"children":3318},{"style":72},[3319],{"type":20,"value":2180},{"type":15,"tag":65,"props":3321,"children":3322},{"style":84},[3323],{"type":20,"value":3324}," (e ",{"type":15,"tag":65,"props":3326,"children":3327},{"style":72},[3328],{"type":20,"value":3329},"==",{"type":15,"tag":65,"props":3331,"children":3332},{"style":84},[3333],{"type":20,"value":3334}," KeyCode.Space)\n",{"type":15,"tag":65,"props":3336,"children":3337},{"class":67,"line":299},[3338],{"type":15,"tag":65,"props":3339,"children":3340},{"style":84},[3341],{"type":20,"value":3342},"        {\n",{"type":15,"tag":65,"props":3344,"children":3345},{"class":67,"line":309},[3346],{"type":15,"tag":65,"props":3347,"children":3348},{"style":303},[3349],{"type":20,"value":3350},"            // Toggle value\n",{"type":15,"tag":65,"props":3352,"children":3353},{"class":67,"line":326},[3354,3359,3363,3368,3373,3377,3381],{"type":15,"tag":65,"props":3355,"children":3356},{"style":84},[3357],{"type":20,"value":3358},"            Cell.Data ",{"type":15,"tag":65,"props":3360,"children":3361},{"style":72},[3362],{"type":20,"value":385},{"type":15,"tag":65,"props":3364,"children":3365},{"style":72},[3366],{"type":20,"value":3367}," !",{"type":15,"tag":65,"props":3369,"children":3370},{"style":84},[3371],{"type":20,"value":3372},"(Cell.Data ",{"type":15,"tag":65,"props":3374,"children":3375},{"style":72},[3376],{"type":20,"value":2660},{"type":15,"tag":65,"props":3378,"children":3379},{"style":475},[3380],{"type":20,"value":2096},{"type":15,"tag":65,"props":3382,"children":3383},{"style":84},[3384],{"type":20,"value":3385},");\n",{"type":15,"tag":65,"props":3387,"children":3388},{"class":67,"line":335},[3389,3393,3397],{"type":15,"tag":65,"props":3390,"children":3391},{"style":72},[3392],{"type":20,"value":2682},{"type":15,"tag":65,"props":3394,"children":3395},{"style":475},[3396],{"type":20,"value":2096},{"type":15,"tag":65,"props":3398,"children":3399},{"style":84},[3400],{"type":20,"value":106},{"type":15,"tag":65,"props":3402,"children":3403},{"class":67,"line":344},[3404],{"type":15,"tag":65,"props":3405,"children":3406},{"style":84},[3407],{"type":20,"value":3408},"        }\n",{"type":15,"tag":65,"props":3410,"children":3411},{"class":67,"line":354},[3412,3416,3420],{"type":15,"tag":65,"props":3413,"children":3414},{"style":72},[3415],{"type":20,"value":2704},{"type":15,"tag":65,"props":3417,"children":3418},{"style":475},[3419],{"type":20,"value":2419},{"type":15,"tag":65,"props":3421,"children":3422},{"style":84},[3423],{"type":20,"value":106},{"type":15,"tag":65,"props":3425,"children":3426},{"class":67,"line":363},[3427],{"type":15,"tag":65,"props":3428,"children":3429},{"style":84},[3430],{"type":20,"value":332},{"type":15,"tag":65,"props":3432,"children":3433},{"class":67,"line":401},[3434],{"type":15,"tag":65,"props":3435,"children":3436},{"style":84},[3437],{"type":20,"value":341},{"type":15,"tag":49,"props":3439,"children":3441},{"id":3440},"数式によるデータバインディング",[3442],{"type":20,"value":3440},{"type":15,"tag":16,"props":3444,"children":3445},{},[3446],{"type":20,"value":3447},"数式を使用して2つのセルのデータをバインドし、セルボディが別のセルに反応するようにします。",{"type":15,"tag":55,"props":3449,"children":3451},{"code":3450,"language":58,"meta":7,"className":59,"style":7},"sheet[\"C3\"] = new ClickableProgressCell();\nsheet[\"C7\"] = \"=C3\";  // C7 mirrors C3's value\n",[3452],{"type":15,"tag":23,"props":3453,"children":3454},{"__ignoreMap":7},[3455,3486],{"type":15,"tag":65,"props":3456,"children":3457},{"class":67,"line":68},[3458,3462,3466,3470,3474,3478,3482],{"type":15,"tag":65,"props":3459,"children":3460},{"style":84},[3461],{"type":20,"value":369},{"type":15,"tag":65,"props":3463,"children":3464},{"style":372},[3465],{"type":20,"value":375},{"type":15,"tag":65,"props":3467,"children":3468},{"style":84},[3469],{"type":20,"value":380},{"type":15,"tag":65,"props":3471,"children":3472},{"style":72},[3473],{"type":20,"value":385},{"type":15,"tag":65,"props":3475,"children":3476},{"style":72},[3477],{"type":20,"value":390},{"type":15,"tag":65,"props":3479,"children":3480},{"style":78},[3481],{"type":20,"value":2747},{"type":15,"tag":65,"props":3483,"children":3484},{"style":84},[3485],{"type":20,"value":296},{"type":15,"tag":65,"props":3487,"children":3488},{"class":67,"line":109},[3489,3493,3498,3502,3506,3511,3516],{"type":15,"tag":65,"props":3490,"children":3491},{"style":84},[3492],{"type":20,"value":369},{"type":15,"tag":65,"props":3494,"children":3495},{"style":372},[3496],{"type":20,"value":3497},"\"C7\"",{"type":15,"tag":65,"props":3499,"children":3500},{"style":84},[3501],{"type":20,"value":380},{"type":15,"tag":65,"props":3503,"children":3504},{"style":72},[3505],{"type":20,"value":385},{"type":15,"tag":65,"props":3507,"children":3508},{"style":372},[3509],{"type":20,"value":3510}," \"=C3\"",{"type":15,"tag":65,"props":3512,"children":3513},{"style":84},[3514],{"type":20,"value":3515},";  ",{"type":15,"tag":65,"props":3517,"children":3518},{"style":303},[3519],{"type":20,"value":3520},"// C7 mirrors C3's value\n",{"type":15,"tag":16,"props":3522,"children":3523},{},[3524],{"type":15,"tag":43,"props":3525,"children":3528},{"alt":3526,"src":3527},"27 (1)","/document/images/27-1.png",[],{"type":15,"tag":49,"props":3530,"children":3532},{"id":3531},"データ変更の傍受",[3533],{"type":20,"value":3531},{"type":15,"tag":16,"props":3535,"children":3536},{},[3537,3543],{"type":15,"tag":23,"props":3538,"children":3540},{"className":3539},[],[3541],{"type":20,"value":3542},"OnSetData",{"type":20,"value":3544}," をオーバーライドして、データが保存される前に検証または変換します。",{"type":15,"tag":55,"props":3546,"children":3548},{"code":3547,"language":58,"meta":7,"className":59,"style":7},"class ClampedCell : CellBody\n{\n    public override object OnSetData(object data)\n    {\n        if (data is double d)\n            return Math.Clamp(d, 0.0, 1.0);\n        return data;\n    }\n}\n",[3549],{"type":15,"tag":23,"props":3550,"children":3551},{"__ignoreMap":7},[3552,3572,3579,3615,3622,3651,3691,3702,3709],{"type":15,"tag":65,"props":3553,"children":3554},{"class":67,"line":68},[3555,3559,3564,3568],{"type":15,"tag":65,"props":3556,"children":3557},{"style":72},[3558],{"type":20,"value":202},{"type":15,"tag":65,"props":3560,"children":3561},{"style":78},[3562],{"type":20,"value":3563}," ClampedCell",{"type":15,"tag":65,"props":3565,"children":3566},{"style":84},[3567],{"type":20,"value":212},{"type":15,"tag":65,"props":3569,"children":3570},{"style":78},[3571],{"type":20,"value":217},{"type":15,"tag":65,"props":3573,"children":3574},{"class":67,"line":109},[3575],{"type":15,"tag":65,"props":3576,"children":3577},{"style":84},[3578],{"type":20,"value":225},{"type":15,"tag":65,"props":3580,"children":3581},{"class":67,"line":142},[3582,3586,3590,3594,3599,3603,3607,3611],{"type":15,"tag":65,"props":3583,"children":3584},{"style":72},[3585],{"type":20,"value":233},{"type":15,"tag":65,"props":3587,"children":3588},{"style":72},[3589],{"type":20,"value":238},{"type":15,"tag":65,"props":3591,"children":3592},{"style":72},[3593],{"type":20,"value":2600},{"type":15,"tag":65,"props":3595,"children":3596},{"style":78},[3597],{"type":20,"value":3598}," OnSetData",{"type":15,"tag":65,"props":3600,"children":3601},{"style":84},[3602],{"type":20,"value":253},{"type":15,"tag":65,"props":3604,"children":3605},{"style":72},[3606],{"type":20,"value":654},{"type":15,"tag":65,"props":3608,"children":3609},{"style":78},[3610],{"type":20,"value":2618},{"type":15,"tag":65,"props":3612,"children":3613},{"style":84},[3614],{"type":20,"value":268},{"type":15,"tag":65,"props":3616,"children":3617},{"class":67,"line":271},[3618],{"type":15,"tag":65,"props":3619,"children":3620},{"style":84},[3621],{"type":20,"value":277},{"type":15,"tag":65,"props":3623,"children":3624},{"class":67,"line":280},[3625,3629,3633,3637,3642,3647],{"type":15,"tag":65,"props":3626,"children":3627},{"style":72},[3628],{"type":20,"value":2180},{"type":15,"tag":65,"props":3630,"children":3631},{"style":84},[3632],{"type":20,"value":2655},{"type":15,"tag":65,"props":3634,"children":3635},{"style":72},[3636],{"type":20,"value":2660},{"type":15,"tag":65,"props":3638,"children":3639},{"style":72},[3640],{"type":20,"value":3641}," double",{"type":15,"tag":65,"props":3643,"children":3644},{"style":78},[3645],{"type":20,"value":3646}," d",{"type":15,"tag":65,"props":3648,"children":3649},{"style":84},[3650],{"type":20,"value":268},{"type":15,"tag":65,"props":3652,"children":3653},{"class":67,"line":299},[3654,3658,3663,3668,3673,3678,3682,3687],{"type":15,"tag":65,"props":3655,"children":3656},{"style":72},[3657],{"type":20,"value":2682},{"type":15,"tag":65,"props":3659,"children":3660},{"style":84},[3661],{"type":20,"value":3662}," Math.",{"type":15,"tag":65,"props":3664,"children":3665},{"style":78},[3666],{"type":20,"value":3667},"Clamp",{"type":15,"tag":65,"props":3669,"children":3670},{"style":84},[3671],{"type":20,"value":3672},"(d, ",{"type":15,"tag":65,"props":3674,"children":3675},{"style":475},[3676],{"type":20,"value":3677},"0.0",{"type":15,"tag":65,"props":3679,"children":3680},{"style":84},[3681],{"type":20,"value":1840},{"type":15,"tag":65,"props":3683,"children":3684},{"style":475},[3685],{"type":20,"value":3686},"1.0",{"type":15,"tag":65,"props":3688,"children":3689},{"style":84},[3690],{"type":20,"value":3385},{"type":15,"tag":65,"props":3692,"children":3693},{"class":67,"line":309},[3694,3698],{"type":15,"tag":65,"props":3695,"children":3696},{"style":72},[3697],{"type":20,"value":2704},{"type":15,"tag":65,"props":3699,"children":3700},{"style":84},[3701],{"type":20,"value":2709},{"type":15,"tag":65,"props":3703,"children":3704},{"class":67,"line":326},[3705],{"type":15,"tag":65,"props":3706,"children":3707},{"style":84},[3708],{"type":20,"value":332},{"type":15,"tag":65,"props":3710,"children":3711},{"class":67,"line":335},[3712],{"type":15,"tag":65,"props":3713,"children":3714},{"style":84},[3715],{"type":20,"value":341},{"type":15,"tag":49,"props":3717,"children":3719},{"id":3718},"セルボディの境界",[3720],{"type":20,"value":3718},{"type":15,"tag":16,"props":3722,"children":3723},{},[3724,3726,3731,3733,3738],{"type":20,"value":3725},"ボディの境界はセルサイズからパディングを引いて計算されます。",{"type":15,"tag":23,"props":3727,"children":3729},{"className":3728},[],[3730],{"type":20,"value":959},{"type":20,"value":3732}," メソッドはセルの左上隅を基準とした ",{"type":15,"tag":23,"props":3734,"children":3736},{"className":3735},[],[3737],{"type":20,"value":968},{"type":20,"value":1066},{"type":15,"tag":55,"props":3740,"children":3742},{"code":3741,"language":58,"meta":7,"className":59,"style":7},"public override void OnPaint(CellDrawingContext dc)\n{\n    var bounds = GetBodyBounds();\n    // bounds.X, bounds.Y = padding offset\n    // bounds.Width, bounds.Height = available area\n}\n",[3743],{"type":15,"tag":23,"props":3744,"children":3745},{"__ignoreMap":7},[3746,3781,3788,3812,3820,3828],{"type":15,"tag":65,"props":3747,"children":3748},{"class":67,"line":68},[3749,3753,3757,3761,3765,3769,3773,3777],{"type":15,"tag":65,"props":3750,"children":3751},{"style":72},[3752],{"type":20,"value":1909},{"type":15,"tag":65,"props":3754,"children":3755},{"style":72},[3756],{"type":20,"value":238},{"type":15,"tag":65,"props":3758,"children":3759},{"style":72},[3760],{"type":20,"value":243},{"type":15,"tag":65,"props":3762,"children":3763},{"style":78},[3764],{"type":20,"value":248},{"type":15,"tag":65,"props":3766,"children":3767},{"style":84},[3768],{"type":20,"value":253},{"type":15,"tag":65,"props":3770,"children":3771},{"style":78},[3772],{"type":20,"value":258},{"type":15,"tag":65,"props":3774,"children":3775},{"style":78},[3776],{"type":20,"value":263},{"type":15,"tag":65,"props":3778,"children":3779},{"style":84},[3780],{"type":20,"value":268},{"type":15,"tag":65,"props":3782,"children":3783},{"class":67,"line":109},[3784],{"type":15,"tag":65,"props":3785,"children":3786},{"style":84},[3787],{"type":20,"value":225},{"type":15,"tag":65,"props":3789,"children":3790},{"class":67,"line":142},[3791,3796,3800,3804,3808],{"type":15,"tag":65,"props":3792,"children":3793},{"style":72},[3794],{"type":20,"value":3795},"    var",{"type":15,"tag":65,"props":3797,"children":3798},{"style":78},[3799],{"type":20,"value":1781},{"type":15,"tag":65,"props":3801,"children":3802},{"style":72},[3803],{"type":20,"value":1786},{"type":15,"tag":65,"props":3805,"children":3806},{"style":78},[3807],{"type":20,"value":1791},{"type":15,"tag":65,"props":3809,"children":3810},{"style":84},[3811],{"type":20,"value":296},{"type":15,"tag":65,"props":3813,"children":3814},{"class":67,"line":271},[3815],{"type":15,"tag":65,"props":3816,"children":3817},{"style":303},[3818],{"type":20,"value":3819},"    // bounds.X, bounds.Y = padding offset\n",{"type":15,"tag":65,"props":3821,"children":3822},{"class":67,"line":280},[3823],{"type":15,"tag":65,"props":3824,"children":3825},{"style":303},[3826],{"type":20,"value":3827},"    // bounds.Width, bounds.Height = available area\n",{"type":15,"tag":65,"props":3829,"children":3830},{"class":67,"line":299},[3831],{"type":15,"tag":65,"props":3832,"children":3833},{"style":84},[3834],{"type":20,"value":341},{"type":15,"tag":16,"props":3836,"children":3837},{},[3838],{"type":20,"value":3839},"利用可能な領域を変更するには、セルのパディングスタイルを調整します。",{"type":15,"tag":55,"props":3841,"children":3843},{"code":3842,"language":58,"meta":7,"className":59,"style":7},"sheet.Cells[\"C3\"].Style.Padding = new PaddingValue(5, 5, 5, 5);\n",[3844],{"type":15,"tag":23,"props":3845,"children":3846},{"__ignoreMap":7},[3847],{"type":15,"tag":65,"props":3848,"children":3849},{"class":67,"line":68},[3850,3854,3858,3863,3867,3871,3876,3880,3885,3889,3893,3897,3901,3905,3909],{"type":15,"tag":65,"props":3851,"children":3852},{"style":84},[3853],{"type":20,"value":416},{"type":15,"tag":65,"props":3855,"children":3856},{"style":372},[3857],{"type":20,"value":375},{"type":15,"tag":65,"props":3859,"children":3860},{"style":84},[3861],{"type":20,"value":3862},"].Style.Padding ",{"type":15,"tag":65,"props":3864,"children":3865},{"style":72},[3866],{"type":20,"value":385},{"type":15,"tag":65,"props":3868,"children":3869},{"style":72},[3870],{"type":20,"value":390},{"type":15,"tag":65,"props":3872,"children":3873},{"style":78},[3874],{"type":20,"value":3875}," PaddingValue",{"type":15,"tag":65,"props":3877,"children":3878},{"style":84},[3879],{"type":20,"value":253},{"type":15,"tag":65,"props":3881,"children":3882},{"style":475},[3883],{"type":20,"value":3884},"5",{"type":15,"tag":65,"props":3886,"children":3887},{"style":84},[3888],{"type":20,"value":1840},{"type":15,"tag":65,"props":3890,"children":3891},{"style":475},[3892],{"type":20,"value":3884},{"type":15,"tag":65,"props":3894,"children":3895},{"style":84},[3896],{"type":20,"value":1840},{"type":15,"tag":65,"props":3898,"children":3899},{"style":475},[3900],{"type":20,"value":3884},{"type":15,"tag":65,"props":3902,"children":3903},{"style":84},[3904],{"type":20,"value":1840},{"type":15,"tag":65,"props":3906,"children":3907},{"style":475},[3908],{"type":20,"value":3884},{"type":15,"tag":65,"props":3910,"children":3911},{"style":84},[3912],{"type":20,"value":3385},{"type":15,"tag":49,"props":3914,"children":3916},{"id":3915},"クラス階層",[3917],{"type":20,"value":3915},{"type":15,"tag":16,"props":3919,"children":3920},{},[3921,3923,3928],{"type":20,"value":3922},"組み込みセルタイプはさまざまなレベルで ",{"type":15,"tag":23,"props":3924,"children":3926},{"className":3925},[],[3927],{"type":20,"value":36},{"type":20,"value":3929}," を拡張しています。",{"type":15,"tag":55,"props":3931,"children":3933},{"code":3932},"ICellBody (interface)\n  └─ CellBody (base class)\n       ├─ ContentCellBody (content region with alignment)\n       │    ├─ CheckBoxCell\n       │    └─ RadioButtonCell\n       ├─ ButtonCell\n       │    └─ ImageButtonCell\n       ├─ DropdownCell (abstract — panel infrastructure)\n       │    ├─ DropdownListBaseCell\n       │    │    ├─ DropdownListCell\n       │    │    └─ ComboListCell\n       │    ├─ ColumnDropdownListCell\n       │    └─ DatePickerCell\n       ├─ ProgressCell\n       │    └─ NegativeProgressCell\n       ├─ HyperlinkCell\n       └─ ImageCell\n",[3934],{"type":15,"tag":23,"props":3935,"children":3936},{"__ignoreMap":7},[3937],{"type":20,"value":3932},{"type":15,"tag":49,"props":3939,"children":3941},{"id":3940},"関連トピック",[3942],{"type":20,"value":3940},{"type":15,"tag":3944,"props":3945,"children":3946},"ul",{},[3947,3960,3971,3982],{"type":15,"tag":3948,"props":3949,"children":3950},"li",{},[3951,3958],{"type":15,"tag":3952,"props":3953,"children":3955},"a",{"href":3954},"/document/cell-types/built-in-cell-types/",[3956],{"type":20,"value":3957},"組み込みセルタイプ",{"type":20,"value":3959}," — すべての組み込みセルボディタイプ",{"type":15,"tag":3948,"props":3961,"children":3962},{},[3963,3969],{"type":15,"tag":3952,"props":3964,"children":3966},{"href":3965},"/document/cell-types/dropdown-list-cell/",[3967],{"type":20,"value":3968},"ドロップダウンリストセル",{"type":20,"value":3970}," — ドロップダウン選択",{"type":15,"tag":3948,"props":3972,"children":3973},{},[3974,3980],{"type":15,"tag":3952,"props":3975,"children":3977},{"href":3976},"/document/cell-types/combo-list-cell/",[3978],{"type":20,"value":3979},"コンボリストセル",{"type":20,"value":3981}," — 編集可能なコンボボックス",{"type":15,"tag":3948,"props":3983,"children":3984},{},[3985,3991],{"type":15,"tag":3952,"props":3986,"children":3988},{"href":3987},"/document/how-to/create-custom-drop-down-cell/",[3989],{"type":20,"value":3990},"カスタムドロップダウンセルの作成方法",{"type":20,"value":3992}," — カスタムドロップダウンチュートリアル",{"type":15,"tag":3994,"props":3995,"children":3996},"style",{},[3997],{"type":20,"value":3998},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":109,"depth":109,"links":4000},[4001,4002,4003,4011,4012,4013,4018,4019,4020,4021,4022,4023,4024,4025,4026],{"id":51,"depth":109,"text":51},{"id":175,"depth":109,"text":175},{"id":485,"depth":109,"text":488,"children":4004},[4005,4006,4007,4008,4009,4010],{"id":509,"depth":142,"text":509},{"id":579,"depth":142,"text":579},{"id":871,"depth":142,"text":871},{"id":1052,"depth":142,"text":1052},{"id":1206,"depth":142,"text":1206},{"id":1298,"depth":142,"text":1298},{"id":1398,"depth":109,"text":258},{"id":1595,"depth":109,"text":1598},{"id":1685,"depth":109,"text":1685,"children":4014},[4015,4016,4017],{"id":1690,"depth":142,"text":1690},{"id":1874,"depth":142,"text":1874},{"id":2009,"depth":142,"text":2009},{"id":2435,"depth":109,"text":2435},{"id":2537,"depth":109,"text":2537},{"id":2726,"depth":109,"text":2726},{"id":3232,"depth":109,"text":3232},{"id":3440,"depth":109,"text":3440},{"id":3531,"depth":109,"text":3531},{"id":3718,"depth":109,"text":3718},{"id":3915,"depth":109,"text":3915},{"id":3940,"depth":109,"text":3940},"markdown","content:document:7.cell-types:4.custom-cell.md","content","document/7.cell-types/4.custom-cell.md","document/7.cell-types/4.custom-cell","md",{"loc":4},[4035,4355,4358,4361,4364,4367,4370,4373,4376],{"title":4036,"_path":4037,"children":4038},"Document","/document",[4039,4050,4055,4087,4104,4133,4165,4180,4194,4217,4228,4244,4267,4278,4298,4318,4347],{"title":4040,"_path":4041,"children":4042},"はじめに","/document/getting-started",[4043,4044,4047],{"title":4040,"_path":4041},{"title":4045,"_path":4046},"インストール","/document/getting-started/installation",{"title":4048,"_path":4049},"V3 から V4 への移行ガイド","/document/getting-started/migrate-from-v3",{"title":4051,"_path":4052,"children":4053},"ワークブック","/document/workbook",[4054],{"title":4051,"_path":4052},{"title":4056,"_path":4057,"children":4058},"ワークシート","/document/worksheet",[4059,4060,4063,4066,4069,4072,4075,4078,4081,4084],{"title":4056,"_path":4057},{"title":4061,"_path":4062},"行、列、ヘッダー","/document/worksheet/row-and-column",{"title":4064,"_path":4065},"範囲","/document/worksheet/range",{"title":4067,"_path":4068},"名前付き範囲","/document/worksheet/named-range",{"title":4070,"_path":4071},"セルの結合と解除","/document/worksheet/merge-and-unmerge",{"title":4073,"_path":4074},"パーシャルグリッド","/document/worksheet/partial-grid",{"title":4076,"_path":4077},"複数行ヘッダー","/document/worksheet/multiple-row-header",{"title":4079,"_path":4080},"ウィンドウ枠の固定","/document/worksheet/freeze",{"title":4082,"_path":4083},"ズーム","/document/worksheet/zoom",{"title":4085,"_path":4086},"設定とオプション","/document/worksheet/settings",{"title":4088,"_path":4089,"children":4090},"選択とナビゲーション","/document/selection",[4091,4092,4095,4098,4101],{"title":4088,"_path":4089},{"title":4093,"_path":4094},"フォーカスと選択","/document/selection/selection",{"title":4096,"_path":4097},"範囲の選択","/document/selection/pick-range",{"title":4099,"_path":4100},"クリップボード","/document/selection/clipboard",{"title":4102,"_path":4103},"テキスト検索","/document/selection/text-search",{"title":4105,"_path":4106,"children":4107},"データ管理","/document/data",[4108,4109,4112,4115,4118,4121,4124,4127,4130],{"title":4105,"_path":4106},{"title":4110,"_path":4111},"データソース","/document/data/datasource",{"title":4113,"_path":4114},"データフィルタリング","/document/data/data-filtering",{"title":4116,"_path":4117},"組み込みオートフィルター","/document/data/builtin-autofilter",{"title":4119,"_path":4120},"条件付きフィルター","/document/data/conditional-filter",{"title":4122,"_path":4123},"条件付きスタイル","/document/data/conditional-styles",{"title":4125,"_path":4126},"グループとアウトライン","/document/data/group-and-outline",{"title":4128,"_path":4129},"データバリデーション","/document/data/data-validation",{"title":4131,"_path":4132},"保護とロック","/document/data/protection",{"title":4134,"_path":4135,"children":4136},"セル","/document/cell",[4137,4138,4141,4144,4147,4150,4153,4156,4159,4162],{"title":4134,"_path":4135},{"title":4139,"_path":4140},"セルの編集","/document/cell/cell-edit",{"title":4142,"_path":4143},"スタイル","/document/cell/style",{"title":4145,"_path":4146},"罫線","/document/cell/border",{"title":4148,"_path":4149},"データ書式","/document/cell/data-format",{"title":4151,"_path":4152},"カスタムデータフォーマッター","/document/cell/custom-data-formatter",{"title":4154,"_path":4155},"データ連続入力","/document/cell/auto-fill",{"title":4157,"_path":4158},"リッチフォーマットテキスト","/document/cell/rich-format-text",{"title":4160,"_path":4161},"セルテキストの回転","/document/cell/rotate-cell-text",{"title":4163,"_path":4164},"セルの反復処理","/document/cell/iterate-cells",{"title":4166,"_path":4167,"children":4168},"セルタイプ","/document/cell-types",[4169,4170,4172,4173,4175,4177],{"title":4166,"_path":4167},{"title":3957,"_path":4171},"/document/cell-types/built-in-cell-types",{"title":8,"_path":4},{"title":3968,"_path":4174},"/document/cell-types/dropdown-list-cell",{"title":3979,"_path":4176},"/document/cell-types/combo-list-cell",{"title":4178,"_path":4179},"列全体のセルタイプ","/document/cell-types/cells-type-for-entire-column",{"title":4181,"_path":4182,"children":4183},"数式","/document/formula",[4184,4185,4188,4191],{"title":4181,"_path":4182},{"title":4186,"_path":4187},"カスタム関数","/document/formula/custom-function",{"title":4189,"_path":4190},"数式関数","/document/formula/formula-functions",{"title":4192,"_path":4193},"VLOOKUP","/document/formula/vlookup",{"title":4195,"_path":4196,"children":4197},"チャート","/document/chart",[4198,4199,4202,4205,4208,4211,4214],{"title":4195,"_path":4196},{"title":4200,"_path":4201},"縦棒グラフ","/document/chart/column-chart",{"title":4203,"_path":4204},"横棒グラフ","/document/chart/bar-chart",{"title":4206,"_path":4207},"折れ線グラフ","/document/chart/line-chart",{"title":4209,"_path":4210},"面グラフ","/document/chart/area-chart",{"title":4212,"_path":4213},"2D円グラフ","/document/chart/pie-2d-chart",{"title":4215,"_path":4216},"ドーナツグラフ","/document/chart/doughnut-chart",{"title":4218,"_path":4219,"children":4220},"フローティングオブジェクト","/document/floating",[4221,4222,4225],{"title":4218,"_path":4219},{"title":4223,"_path":4224},"描画シェイプ","/document/floating/drawing-shapes",{"title":4226,"_path":4227},"フローティング画像","/document/floating/floating-image",{"title":4229,"_path":4230,"children":4231},"イベント","/document/events",[4232,4233,4235,4238,4241],{"title":4229,"_path":4230},{"title":4229,"_path":4234},"/document/events/events",{"title":4236,"_path":4237},"キーボードイベント","/document/events/keyboard-events",{"title":4239,"_path":4240},"マウスイベント","/document/events/mouse-events",{"title":4242,"_path":4243},"SelectionRangeChanged","/document/events/selection-events",{"title":4245,"_path":4246,"children":4247},"カスタマイズ","/document/customization",[4248,4249,4252,4255,4258,4261,4264],{"title":4245,"_path":4246},{"title":4250,"_path":4251},"コントロールの外観","/document/customization/control-appearance",{"title":4253,"_path":4254},"シートタブコントロール","/document/customization/sheet-tab-control",{"title":4256,"_path":4257},"使用可能なホットキー","/document/customization/hot-keys",{"title":4259,"_path":4260},"言語ローカライズ","/document/customization/language-localization",{"title":4262,"_path":4263},"アドレスバーと数式バー","/document/customization/formula-bar",{"title":4265,"_path":4266},"ReoGridEditor","/document/customization/editor",{"title":4268,"_path":4269,"children":4270},"アクション","/document/actions",[4271,4272,4275],{"title":4268,"_path":4269},{"title":4273,"_path":4274},"ReoGridアクションフレームワーク","/document/actions/actions",{"title":4276,"_path":4277},"組み込みワークシートアクション","/document/actions/built-in-actions",{"title":4279,"_path":4280,"children":4281},"ファイル形式","/document/io",[4282,4283,4286,4289,4292,4295],{"title":4279,"_path":4280},{"title":4284,"_path":4285},"Excelファイル形式 (xlsx)","/document/io/excel-file-format",{"title":4287,"_path":4288},"CSV形式","/document/io/csv-format",{"title":4290,"_path":4291},"RGF形式","/document/io/rgf-format",{"title":4293,"_path":4294},"Excel形式とRGF形式の違い","/document/io/difference-between-excel-and-rgf-format",{"title":4296,"_path":4297},"HTMLとしてエクスポート","/document/io/export-as-html",{"title":4299,"_path":4300,"children":4301},"高度な機能","/document/advanced",[4302,4303,4306,4309,4312,4315],{"title":4299,"_path":4300},{"title":4304,"_path":4305},"メモリワークブック","/document/advanced/memory-workbook",{"title":4307,"_path":4308},"ページングと印刷","/document/advanced/paging-and-print",{"title":4310,"_path":4311},"コントロールのリセット","/document/advanced/reset-control",{"title":4313,"_path":4314},"パフォーマンス","/document/advanced/performance",{"title":4316,"_path":4317},"設定","/document/advanced/settings",{"title":4319,"_path":4320,"children":4321},"ハウツーガイド","/document/how-to",[4322,4323,4326,4329,4332,4335,4338,4341,4344],{"title":4319,"_path":4320},{"title":4324,"_path":4325},"ReoGridの推奨プラクティス","/document/how-to/recommended-practice-for-using-reogrid",{"title":4327,"_path":4328},"DataTableでスプレッドシートを埋める","/document/how-to/fill-grid-with-datatable",{"title":4330,"_path":4331},"遅延読み込みモードによる大量データの高速読み込み","/document/how-to/fast-load-large-data-with-lazy-load-mode",{"title":4333,"_path":4334},"カスタムドロップダウンセルの作成","/document/how-to/create-custom-drop-down-cell",{"title":4336,"_path":4337},"日付ピッカーセルの作成","/document/how-to/create-date-picker-cell",{"title":4339,"_path":4340},"Excelファイルからすべての画像を読み取る","/document/how-to/read-all-images-from-excel-file",{"title":4342,"_path":4343},"VB.NETでReoGridを使用するためのヒント","/document/how-to/use-reogrid-in-vb-net",{"title":4345,"_path":4346},"全選択チェックボックスヘッダーの作成","/document/how-to/create-select-all-checkbox-header",{"title":4348,"_path":4349,"children":4350},"トラブルシューティング","/document/troubleshooting",[4351,4352],{"title":4348,"_path":4349},{"title":4353,"_path":4354},"PInvoke例外の修正","/document/troubleshooting/fix-pinvoke-exception",{"title":4356,"_path":4357},"エディション・機能一覧","/editions-features",{"title":4359,"_path":4360},"個人情報保護方針","/privacy-policy",{"title":4362,"_path":4363},"動作環境","/requirements",{"title":4365,"_path":4366},"ReoGrid利用許諾契約書","/terms",{"title":4368,"_path":4369},"ReoGrid利用許諾契約書(Ver.3)","/terms-v3",{"title":4371,"_path":4372},"ReoGrid利用許諾契約書(Ver.4)","/terms-v4",{"title":4374,"_path":4375},"ReoGrid 4 トライアルライセンスポリシー","/terms-v4-trial",{"title":4377,"_path":4378},"ReoGrid Web Edition 利用許諾契約書","/terms-web",1786025061246]