DataGridViewButtonCell.MouseLeaveUnsharesRow(Int32) 메서드

정의

마우스 포인터가 행을 떠날 때 행을 공유하지 않을지 여부를 나타냅니다.

protected:
 override bool MouseLeaveUnsharesRow(int rowIndex);
protected override bool MouseLeaveUnsharesRow(int rowIndex);
override this.MouseLeaveUnsharesRow : int -> bool
Protected Overrides Function MouseLeaveUnsharesRow (rowIndex As Integer) As Boolean

매개 변수

rowIndex
Int32

현재 셀의 행 인덱스이거나 행이 셀을 소유하지 않은 경우 -1.

반품

true셀에 표시되는 단추가 누름 상태이면 이고, 그렇지 않으면 . false

설명

메서드는 MouseLeaveUnsharesRow 메서드 바로 앞에 호출됩니다 OnMouseLeave . MouseLeaveUnsharesRow에 지정된 true행을 공유 해제하는 OnMouseLeave 효과가 있는 경우 호출이 반환 rowIndex 되어야 합니다. 그렇지 않으면 반환 false 되어야 합니다.

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

적용 대상

추가 정보