DataGridBoolColumn.Edit メソッド

定義

値を編集するためのセルを準備します。

protected public:
 override void Edit(System::Windows::Forms::CurrencyManager ^ source, int rowNum, System::Drawing::Rectangle bounds, bool readOnly, System::String ^ instantText, bool cellIsVisible);
protected public:
 override void Edit(System::Windows::Forms::CurrencyManager ^ source, int rowNum, System::Drawing::Rectangle bounds, bool readOnly, System::String ^ displayText, bool cellIsVisible);
protected internal override void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string instantText, bool cellIsVisible);
protected internal override void Edit(System.Windows.Forms.CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText, bool cellIsVisible);
override this.Edit : System.Windows.Forms.CurrencyManager * int * System.Drawing.Rectangle * bool * string * bool -> unit
override this.Edit : System.Windows.Forms.CurrencyManager * int * System.Drawing.Rectangle * bool * string * bool -> unit
Protected Friend Overrides Sub Edit (source As CurrencyManager, rowNum As Integer, bounds As Rectangle, readOnly As Boolean, instantText As String, cellIsVisible As Boolean)
Protected Friend Overrides Sub Edit (source As CurrencyManager, rowNum As Integer, bounds As Rectangle, readOnly As Boolean, displayText As String, cellIsVisible As Boolean)

パラメーター

source
CurrencyManager

編集したセルの DataView

rowNum
Int32

編集したセルの行番号。

bounds
Rectangle

コントロールがサイト化される Rectangle

readOnly
Boolean

true 値が読み取り専用の場合。それ以外の場合は false

instantTextdisplayText
String

セルに表示するテキスト。

cellIsVisible
Boolean

true セルを表示するには、それ以外の場合は false

注釈

このメソッドの一般的な実装 ( DataGridColumnStyle クラスで説明されているように) とは異なり、 Edit メソッドはセル値を編集するためのコントロールをサイト化しません。 代わりに、 Paint メソッドが呼び出されたときにチェック ボックスが描画されます。

適用対象