DataGridViewButtonCell.KeyUpUnsharesRow(KeyEventArgs, Int32) 메서드

정의

포커스가 행의 셀에 있는 동안 키가 해제될 때 행이 공유되지 않는지 여부를 나타냅니다.

protected:
 override bool KeyUpUnsharesRow(System::Windows::Forms::KeyEventArgs ^ e, int rowIndex);
protected override bool KeyUpUnsharesRow(System.Windows.Forms.KeyEventArgs e, int rowIndex);
override this.KeyUpUnsharesRow : System.Windows.Forms.KeyEventArgs * int -> bool
Protected Overrides Function KeyUpUnsharesRow (e As KeyEventArgs, rowIndex As Integer) As Boolean

매개 변수

e
KeyEventArgs

이벤트 데이터를 포함하는 A KeyEventArgs 입니다.

rowIndex
Int32

셀의 부모 행 인덱스입니다.

반품

사용자가 SPACE 키를 해제하면

설명

메서드는 KeyUpUnsharesRow 메서드 바로 앞에 호출됩니다 OnKeyUp . 동일한 true 인수를 사용하는 OnKeyUp 호출이 행KeyEventArgs을 공유 해제하는 효과가 있는 경우 반환 rowIndex 해야 합니다. 그렇지 않으면 반환 false 되어야 합니다.

행 공유에 대한 자세한 내용은 Windows Forms DataGridView 컨트롤 확장을 위한 모범 사례를 참조하세요.

적용 대상

추가 정보