[{"data":1,"prerenderedAt":641},["ShallowReactive",2],{"content-query-e7G7pj06OT":3,"navigation":293},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"body":11,"_type":286,"_id":287,"_source":288,"_file":289,"_stem":290,"_extension":291,"sitemap":292},"/document/selection/pick-range","selection",false,"","範囲の選択","PickRange メソッドの定義：","2014-05-28",{"type":12,"children":13,"toc":284},"root",[14,29,77,82,137,269,278],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,27],{"type":15,"tag":20,"props":21,"children":23},"code",{"className":22},[],[24],{"type":25,"value":26},"text","PickRange",{"type":25,"value":28}," メソッドの定義：",{"type":15,"tag":30,"props":31,"children":35},"pre",{"className":32,"code":33,"language":34,"meta":7,"style":7},"language-cs shiki shiki-themes github-light github-dark github-light","PickRange(Func\u003C...,bool> handler, cursor)\n","cs",[36],{"type":15,"tag":20,"props":37,"children":38},{"__ignoreMap":7},[39],{"type":15,"tag":40,"props":41,"children":44},"span",{"class":42,"line":43},"line",1,[45,50,56,62,67,72],{"type":15,"tag":40,"props":46,"children":48},{"style":47},"--shiki-light:#6F42C1;--shiki-dark:#B392F0;--shiki-default:#6F42C1",[49],{"type":25,"value":26},{"type":15,"tag":40,"props":51,"children":53},{"style":52},"--shiki-light:#24292E;--shiki-dark:#E1E4E8;--shiki-default:#24292E",[54],{"type":25,"value":55},"(Func",{"type":15,"tag":40,"props":57,"children":59},{"style":58},"--shiki-light:#D73A49;--shiki-dark:#F97583;--shiki-default:#D73A49",[60],{"type":25,"value":61},"\u003C..",{"type":15,"tag":40,"props":63,"children":64},{"style":52},[65],{"type":25,"value":66},".,",{"type":15,"tag":40,"props":68,"children":69},{"style":58},[70],{"type":25,"value":71},"bool>",{"type":15,"tag":40,"props":73,"children":74},{"style":52},[75],{"type":25,"value":76}," handler, cursor)\n",{"type":15,"tag":16,"props":78,"children":79},{},[80],{"type":25,"value":81},"各パラメータの説明：",{"type":15,"tag":83,"props":84,"children":85},"ul",{},[86,98,126],{"type":15,"tag":87,"props":88,"children":89},"li",{},[90,96],{"type":15,"tag":20,"props":91,"children":93},{"className":92},[],[94],{"type":25,"value":95},"handler",{"type":25,"value":97}," は、ユーザーが範囲を選択したときに呼び出される匿名関数です。",{"type":15,"tag":87,"props":99,"children":100},{},[101,103,108,110,116,118,124],{"type":25,"value":102},"選択された範囲が許容できる場合は ",{"type":15,"tag":20,"props":104,"children":106},{"className":105},[],[107],{"type":25,"value":95},{"type":25,"value":109}," から ",{"type":15,"tag":20,"props":111,"children":113},{"className":112},[],[114],{"type":25,"value":115},"true",{"type":25,"value":117}," を返します。選択を続行するには ",{"type":15,"tag":20,"props":119,"children":121},{"className":120},[],[122],{"type":25,"value":123},"false",{"type":25,"value":125}," を返します。",{"type":15,"tag":87,"props":127,"children":128},{},[129,135],{"type":15,"tag":20,"props":130,"children":132},{"className":131},[],[133],{"type":25,"value":134},"cursor",{"type":25,"value":136}," は、ユーザーが範囲を選択している間に表示されるカーソルです。操作が終了するとカーソルはデフォルトに戻ります。",{"type":15,"tag":30,"props":138,"children":140},{"className":32,"code":139,"language":34,"meta":7,"style":7},"grid.PickRange((inst, range) =>\n{\n  MessageBox.Show(\"User picked range: \" + range.ToString());\n  return true;\n}, Cursors.Hand);\n",[141],{"type":15,"tag":20,"props":142,"children":143},{"__ignoreMap":7},[144,186,195,240,260],{"type":15,"tag":40,"props":145,"children":146},{"class":42,"line":43},[147,152,156,161,166,171,176,181],{"type":15,"tag":40,"props":148,"children":149},{"style":52},[150],{"type":25,"value":151},"grid.",{"type":15,"tag":40,"props":153,"children":154},{"style":47},[155],{"type":25,"value":26},{"type":15,"tag":40,"props":157,"children":158},{"style":52},[159],{"type":25,"value":160},"((",{"type":15,"tag":40,"props":162,"children":163},{"style":47},[164],{"type":25,"value":165},"inst",{"type":15,"tag":40,"props":167,"children":168},{"style":52},[169],{"type":25,"value":170},", ",{"type":15,"tag":40,"props":172,"children":173},{"style":47},[174],{"type":25,"value":175},"range",{"type":15,"tag":40,"props":177,"children":178},{"style":52},[179],{"type":25,"value":180},") ",{"type":15,"tag":40,"props":182,"children":183},{"style":58},[184],{"type":25,"value":185},"=>\n",{"type":15,"tag":40,"props":187,"children":189},{"class":42,"line":188},2,[190],{"type":15,"tag":40,"props":191,"children":192},{"style":52},[193],{"type":25,"value":194},"{\n",{"type":15,"tag":40,"props":196,"children":198},{"class":42,"line":197},3,[199,204,209,214,220,225,230,235],{"type":15,"tag":40,"props":200,"children":201},{"style":52},[202],{"type":25,"value":203},"  MessageBox.",{"type":15,"tag":40,"props":205,"children":206},{"style":47},[207],{"type":25,"value":208},"Show",{"type":15,"tag":40,"props":210,"children":211},{"style":52},[212],{"type":25,"value":213},"(",{"type":15,"tag":40,"props":215,"children":217},{"style":216},"--shiki-light:#032F62;--shiki-dark:#9ECBFF;--shiki-default:#032F62",[218],{"type":25,"value":219},"\"User picked range: \"",{"type":15,"tag":40,"props":221,"children":222},{"style":58},[223],{"type":25,"value":224}," +",{"type":15,"tag":40,"props":226,"children":227},{"style":52},[228],{"type":25,"value":229}," range.",{"type":15,"tag":40,"props":231,"children":232},{"style":47},[233],{"type":25,"value":234},"ToString",{"type":15,"tag":40,"props":236,"children":237},{"style":52},[238],{"type":25,"value":239},"());\n",{"type":15,"tag":40,"props":241,"children":243},{"class":42,"line":242},4,[244,249,255],{"type":15,"tag":40,"props":245,"children":246},{"style":58},[247],{"type":25,"value":248},"  return",{"type":15,"tag":40,"props":250,"children":252},{"style":251},"--shiki-light:#005CC5;--shiki-dark:#79B8FF;--shiki-default:#005CC5",[253],{"type":25,"value":254}," true",{"type":15,"tag":40,"props":256,"children":257},{"style":52},[258],{"type":25,"value":259},";\n",{"type":15,"tag":40,"props":261,"children":263},{"class":42,"line":262},5,[264],{"type":15,"tag":40,"props":265,"children":266},{"style":52},[267],{"type":25,"value":268},"}, Cursors.Hand);\n",{"type":15,"tag":16,"props":270,"children":271},{},[272],{"type":15,"tag":273,"props":274,"children":277},"img",{"alt":275,"src":276},"Pick a range","/document/images/37.png",[],{"type":15,"tag":279,"props":280,"children":281},"style",{},[282],{"type":25,"value":283},"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":188,"depth":188,"links":285},[],"markdown","content:document:4.selection:3.pick-range.md","content","document/4.selection/3.pick-range.md","document/4.selection/3.pick-range","md",{"loc":4},[294,617,620,623,626,629,632,635,638],{"title":295,"_path":296,"children":297},"Document","/document",[298,309,314,346,361,390,422,442,456,479,490,506,529,540,560,580,609],{"title":299,"_path":300,"children":301},"はじめに","/document/getting-started",[302,303,306],{"title":299,"_path":300},{"title":304,"_path":305},"インストール","/document/getting-started/installation",{"title":307,"_path":308},"V3 から V4 への移行ガイド","/document/getting-started/migrate-from-v3",{"title":310,"_path":311,"children":312},"ワークブック","/document/workbook",[313],{"title":310,"_path":311},{"title":315,"_path":316,"children":317},"ワークシート","/document/worksheet",[318,319,322,325,328,331,334,337,340,343],{"title":315,"_path":316},{"title":320,"_path":321},"行、列、ヘッダー","/document/worksheet/row-and-column",{"title":323,"_path":324},"範囲","/document/worksheet/range",{"title":326,"_path":327},"名前付き範囲","/document/worksheet/named-range",{"title":329,"_path":330},"セルの結合と解除","/document/worksheet/merge-and-unmerge",{"title":332,"_path":333},"パーシャルグリッド","/document/worksheet/partial-grid",{"title":335,"_path":336},"複数行ヘッダー","/document/worksheet/multiple-row-header",{"title":338,"_path":339},"ウィンドウ枠の固定","/document/worksheet/freeze",{"title":341,"_path":342},"ズーム","/document/worksheet/zoom",{"title":344,"_path":345},"設定とオプション","/document/worksheet/settings",{"title":347,"_path":348,"children":349},"選択とナビゲーション","/document/selection",[350,351,354,355,358],{"title":347,"_path":348},{"title":352,"_path":353},"フォーカスと選択","/document/selection/selection",{"title":8,"_path":4},{"title":356,"_path":357},"クリップボード","/document/selection/clipboard",{"title":359,"_path":360},"テキスト検索","/document/selection/text-search",{"title":362,"_path":363,"children":364},"データ管理","/document/data",[365,366,369,372,375,378,381,384,387],{"title":362,"_path":363},{"title":367,"_path":368},"データソース","/document/data/datasource",{"title":370,"_path":371},"データフィルタリング","/document/data/data-filtering",{"title":373,"_path":374},"組み込みオートフィルター","/document/data/builtin-autofilter",{"title":376,"_path":377},"条件付きフィルター","/document/data/conditional-filter",{"title":379,"_path":380},"条件付きスタイル","/document/data/conditional-styles",{"title":382,"_path":383},"グループとアウトライン","/document/data/group-and-outline",{"title":385,"_path":386},"データバリデーション","/document/data/data-validation",{"title":388,"_path":389},"保護とロック","/document/data/protection",{"title":391,"_path":392,"children":393},"セル","/document/cell",[394,395,398,401,404,407,410,413,416,419],{"title":391,"_path":392},{"title":396,"_path":397},"セルの編集","/document/cell/cell-edit",{"title":399,"_path":400},"スタイル","/document/cell/style",{"title":402,"_path":403},"罫線","/document/cell/border",{"title":405,"_path":406},"データ書式","/document/cell/data-format",{"title":408,"_path":409},"カスタムデータフォーマッター","/document/cell/custom-data-formatter",{"title":411,"_path":412},"データ連続入力","/document/cell/auto-fill",{"title":414,"_path":415},"リッチフォーマットテキスト","/document/cell/rich-format-text",{"title":417,"_path":418},"セルテキストの回転","/document/cell/rotate-cell-text",{"title":420,"_path":421},"セルの反復処理","/document/cell/iterate-cells",{"title":423,"_path":424,"children":425},"セルタイプ","/document/cell-types",[426,427,430,433,436,439],{"title":423,"_path":424},{"title":428,"_path":429},"組み込みセルタイプ","/document/cell-types/built-in-cell-types",{"title":431,"_path":432},"カスタムセル","/document/cell-types/custom-cell",{"title":434,"_path":435},"ドロップダウンリストセル","/document/cell-types/dropdown-list-cell",{"title":437,"_path":438},"コンボリストセル","/document/cell-types/combo-list-cell",{"title":440,"_path":441},"列全体のセルタイプ","/document/cell-types/cells-type-for-entire-column",{"title":443,"_path":444,"children":445},"数式","/document/formula",[446,447,450,453],{"title":443,"_path":444},{"title":448,"_path":449},"カスタム関数","/document/formula/custom-function",{"title":451,"_path":452},"数式関数","/document/formula/formula-functions",{"title":454,"_path":455},"VLOOKUP","/document/formula/vlookup",{"title":457,"_path":458,"children":459},"チャート","/document/chart",[460,461,464,467,470,473,476],{"title":457,"_path":458},{"title":462,"_path":463},"縦棒グラフ","/document/chart/column-chart",{"title":465,"_path":466},"横棒グラフ","/document/chart/bar-chart",{"title":468,"_path":469},"折れ線グラフ","/document/chart/line-chart",{"title":471,"_path":472},"面グラフ","/document/chart/area-chart",{"title":474,"_path":475},"2D円グラフ","/document/chart/pie-2d-chart",{"title":477,"_path":478},"ドーナツグラフ","/document/chart/doughnut-chart",{"title":480,"_path":481,"children":482},"フローティングオブジェクト","/document/floating",[483,484,487],{"title":480,"_path":481},{"title":485,"_path":486},"描画シェイプ","/document/floating/drawing-shapes",{"title":488,"_path":489},"フローティング画像","/document/floating/floating-image",{"title":491,"_path":492,"children":493},"イベント","/document/events",[494,495,497,500,503],{"title":491,"_path":492},{"title":491,"_path":496},"/document/events/events",{"title":498,"_path":499},"キーボードイベント","/document/events/keyboard-events",{"title":501,"_path":502},"マウスイベント","/document/events/mouse-events",{"title":504,"_path":505},"SelectionRangeChanged","/document/events/selection-events",{"title":507,"_path":508,"children":509},"カスタマイズ","/document/customization",[510,511,514,517,520,523,526],{"title":507,"_path":508},{"title":512,"_path":513},"コントロールの外観","/document/customization/control-appearance",{"title":515,"_path":516},"シートタブコントロール","/document/customization/sheet-tab-control",{"title":518,"_path":519},"使用可能なホットキー","/document/customization/hot-keys",{"title":521,"_path":522},"言語ローカライズ","/document/customization/language-localization",{"title":524,"_path":525},"アドレスバーと数式バー","/document/customization/formula-bar",{"title":527,"_path":528},"ReoGridEditor","/document/customization/editor",{"title":530,"_path":531,"children":532},"アクション","/document/actions",[533,534,537],{"title":530,"_path":531},{"title":535,"_path":536},"ReoGridアクションフレームワーク","/document/actions/actions",{"title":538,"_path":539},"組み込みワークシートアクション","/document/actions/built-in-actions",{"title":541,"_path":542,"children":543},"ファイル形式","/document/io",[544,545,548,551,554,557],{"title":541,"_path":542},{"title":546,"_path":547},"Excelファイル形式 (xlsx)","/document/io/excel-file-format",{"title":549,"_path":550},"CSV形式","/document/io/csv-format",{"title":552,"_path":553},"RGF形式","/document/io/rgf-format",{"title":555,"_path":556},"Excel形式とRGF形式の違い","/document/io/difference-between-excel-and-rgf-format",{"title":558,"_path":559},"HTMLとしてエクスポート","/document/io/export-as-html",{"title":561,"_path":562,"children":563},"高度な機能","/document/advanced",[564,565,568,571,574,577],{"title":561,"_path":562},{"title":566,"_path":567},"メモリワークブック","/document/advanced/memory-workbook",{"title":569,"_path":570},"ページングと印刷","/document/advanced/paging-and-print",{"title":572,"_path":573},"コントロールのリセット","/document/advanced/reset-control",{"title":575,"_path":576},"パフォーマンス","/document/advanced/performance",{"title":578,"_path":579},"設定","/document/advanced/settings",{"title":581,"_path":582,"children":583},"ハウツーガイド","/document/how-to",[584,585,588,591,594,597,600,603,606],{"title":581,"_path":582},{"title":586,"_path":587},"ReoGridの推奨プラクティス","/document/how-to/recommended-practice-for-using-reogrid",{"title":589,"_path":590},"DataTableでスプレッドシートを埋める","/document/how-to/fill-grid-with-datatable",{"title":592,"_path":593},"遅延読み込みモードによる大量データの高速読み込み","/document/how-to/fast-load-large-data-with-lazy-load-mode",{"title":595,"_path":596},"カスタムドロップダウンセルの作成","/document/how-to/create-custom-drop-down-cell",{"title":598,"_path":599},"日付ピッカーセルの作成","/document/how-to/create-date-picker-cell",{"title":601,"_path":602},"Excelファイルからすべての画像を読み取る","/document/how-to/read-all-images-from-excel-file",{"title":604,"_path":605},"VB.NETでReoGridを使用するためのヒント","/document/how-to/use-reogrid-in-vb-net",{"title":607,"_path":608},"全選択チェックボックスヘッダーの作成","/document/how-to/create-select-all-checkbox-header",{"title":610,"_path":611,"children":612},"トラブルシューティング","/document/troubleshooting",[613,614],{"title":610,"_path":611},{"title":615,"_path":616},"PInvoke例外の修正","/document/troubleshooting/fix-pinvoke-exception",{"title":618,"_path":619},"エディション・機能一覧","/editions-features",{"title":621,"_path":622},"個人情報保護方針","/privacy-policy",{"title":624,"_path":625},"動作環境","/requirements",{"title":627,"_path":628},"ReoGrid利用許諾契約書","/terms",{"title":630,"_path":631},"ReoGrid利用許諾契約書(Ver.3)","/terms-v3",{"title":633,"_path":634},"ReoGrid利用許諾契約書(Ver.4)","/terms-v4",{"title":636,"_path":637},"ReoGrid 4 トライアルライセンスポリシー","/terms-v4-trial",{"title":639,"_path":640},"ReoGrid Web Edition 利用許諾契約書","/terms-web",1786025053026]