DataGridViewCell.MouseEnterUnsharesRow(Int32) 메서드

정의

마우스 포인터가 행의 셀 위로 이동할 때 행이 공유되지 않는지 여부를 나타냅니다.

protected:
 virtual bool MouseEnterUnsharesRow(int rowIndex);
protected virtual bool MouseEnterUnsharesRow(int rowIndex);
abstract member MouseEnterUnsharesRow : int -> bool
override this.MouseEnterUnsharesRow : int -> bool
Protected Overridable Function MouseEnterUnsharesRow (rowIndex As Integer) As Boolean

매개 변수

rowIndex
Int32

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

반품

true 행이 공유 false되지 않으면 . 기본 DataGridViewCell 클래스는 항상 .를 반환합니다 false.

설명

메서드는 MouseEnterUnsharesRow 메서드 바로 앞에 호출됩니다 OnMouseEnter . 파생 클래스에서는 호출 true 이 셀을 포함하는 행의 공유를 해제하는 효과가 있는 경우 반환 OnMouseEnter 해야 합니다. 그렇지 않으면 반환 false되어야 합니다.

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

적용 대상

추가 정보