Share via


DataGridBoolColumn.Edit Yöntem

Tanım

Hücreyi bir değeri düzenlemek için hazırlar.

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)

Parametreler

source
CurrencyManager

DataView Düzenlenen hücrenin sayısı.

rowNum
Int32

Düzenlenen hücrenin satır numarası.

bounds
Rectangle

Denetimin Rectangle sitelendirildiği yer.

readOnly
Boolean

true değer salt okunursa; aksi takdirde , false.

instantTextdisplayText
String

Hücrede görüntülenecek metin.

cellIsVisible
Boolean

true hücreyi göstermek için; aksi takdirde , false.

Açıklamalar

Bu yöntemin tipik uygulamasından farklı olarak (sınıfında açıklandığı DataGridColumnStyle gibi), Edit yöntem hücre değerini düzenlemek için bir denetime yer vermez. Bunun yerine, yöntem çağrıldığında Paint bir onay kutusu çizilir.

Şunlara uygulanır