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 描画されます。

適用対象