DataGridBoolColumn::Edit Method (CurrencyManager^, Int32, Rectangle, Boolean, String^, Boolean)
.NET Framework (current version)
Prepares the cell for editing a value.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public protected: virtual void Edit( CurrencyManager^ source, int rowNum, Rectangle bounds, bool readOnly, String^ displayText, bool cellIsVisible ) override
Parameters
- source
-
Type:
System.Windows.Forms::CurrencyManager^
The DataView of the edited cell.
- rowNum
-
Type:
System::Int32
The row number of the edited cell.
- bounds
-
Type:
System.Drawing::Rectangle
The Rectangle in which the control is to be sited.
- readOnly
-
Type:
System::Boolean
true if the value is read only; otherwise, false.
- displayText
-
Type:
System::String^
The text to display in the cell.
- cellIsVisible
-
Type:
System::Boolean
true to show the cell; otherwise, false.
Unlike the typical implementation of this method (as described in the DataGridColumnStyle class), the Edit method does not site a control for editing the cell value. Instead, a check box is drawn when the Paint method is called.
.NET Framework
Available since 1.1
Available since 1.1
Show: