FlexPivot for WinForms
StartEdit イベント (C1FlexGridBase)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : StartEdit イベント
Fires before the control enters edit mode.
シンタックス
'宣言
 
Public Event StartEdit As RowColEventHandler
public event RowColEventHandler StartEdit
イベント データ

イベント ハンドラが、このイベントに関連するデータを含む、RowColEventArgs 型の引数を受け取りました。次の RowColEventArgs プロパティには、このイベントの固有の情報が記載されます。

プロパティ解説
Gets or sets a value indicating whether the operation should be canceled.  
Gets the index of the column that caused the event.  
Gets the index of the row that caused the event.  
解説

This event fires before the control enters edit mode. It allows you to prevent editing by setting the Cancel parameter to true, or to supply a list of choices for a combo list using the ComboList property, or an edit mask using the EditMask property.

If the choices or the mask are the same for a whole column, you may set them more efficiently using the RowCol.ComboList and RowCol.EditMask properties for the Column object. In this case, there's no need to handle the StartEdit event at all.

The grid also exposes a BeforeEdit event. The difference between the two is that BeforeEdit fires when the grid paints the cell that has the focus (so it can determine whether the cell has a drop-down button). BeforeEdit fires more often than StartEdit, and does not always indicate that the grid is actually entering edit mode.

参照