'宣言 Public Event AfterSelChange As RangeEventHandler
public event RangeEventHandler AfterSelChange
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、RangeEventArgs 型の引数を受け取りました。次の RangeEventArgs プロパティには、このイベントの固有の情報が記載されます。
プロパティ | 解説 |
---|---|
Cancel | Gets or sets a value indicating whether the new selection should be canceled. |
NewRange | Gets the range that will be selected after the event. |
OldRange | Gets the range selected before the event. |
解説
This event is fired after the RowSel or ColSel properties change, either as a result of user actions (mouse or keyboard) or through code.
This event is useful if you want to display additional information about the current selection. To perform validation or prevent certain cells from being selected, use the BeforeRowColChange and BeforeSelChange events instead.
参照