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