| GrapeCity.Win.CalendarGrid.v10 アセンブリ > GrapeCity.Win.CalendarGrid 名前空間 > GcCalendarGrid クラス : CellBeginEdit イベント | 
Public Event CellBeginEdit As EventHandler(Of CalendarCellBeginEditEventArgs)
public event EventHandler<CalendarCellBeginEditEventArgs> CellBeginEdit
イベント ハンドラが、このイベントに関連するデータを含む、CalendarCellBeginEditEventArgs 型の引数を受け取りました。次の CalendarCellBeginEditEventArgs プロパティには、このイベントの固有の情報が記載されます。
| プロパティ | 解説 | 
|---|---|
| BeginEditReason | ユーザーが GcCalendarGrid コントロール内でセル編集を開始した方法を指定する CalendarBeginEditReason を取得します。 | 
| Cancel | イベントがキャンセルされるかどうかを示す値を取得または設定します。 GrapeCity.Win.CalendarGrid.CalendarCellCancelEventArgsから継承されます。 | 
| CellPosition | 関連する CalendarCell の位置を取得します。 GrapeCity.Win.CalendarGrid.CalendarCellEventArgsから継承されます。 | 
| MoveStatus | 移動ステータスを取得します。 | 
void gcCalendarGrid_CellBeginEdit(object sender, CalendarCellBeginEditEventArgs e) { if (GetMessageDeviceType() == MessageDeviceType.Touch && (e.CellPosition.Scope == CalendarTableScope.Content && e.CellPosition.RowIndex == 1 && e.CellPosition.ColumnIndex == 0)) { gcCalendarGrid.ShowTouchKeyboard(); } }
Private Sub gcCalendarGrid_CellBeginEdit(sender As Object, e As CalendarCellBeginEditEventArgs) If GetMessageDeviceType() = MessageDeviceType.Touch AndAlso (e.CellPosition.Scope = CalendarTableScope.Content AndAlso e.CellPosition.RowIndex = 1 AndAlso e.CellPosition.ColumnIndex = 0) Then gcCalendarGrid.ShowTouchKeyboard() End If End Sub