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

값이 읽기 전용이면 이고, 그렇지 않으면 .

instantTextdisplayText
String

셀에 표시할 텍스트입니다.

cellIsVisible
Boolean

true셀을 표시하려면 그렇지 않으면 . false

설명

클래스 DataGridColumnStyleEdit 설명된 대로 이 메서드의 일반적인 구현과 달리 이 메서드는 셀 값을 편집하기 위한 컨트롤을 사이트로 지정하지 않습니다. 대신 메서드가 호출되면 확인란이 Paint 그려집니다.

적용 대상