DataGridViewCell.EnterUnsharesRow(Int32, Boolean) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
포커스가 셀로 이동할 때 부모 행이 공유되지 않는지 여부를 나타냅니다.
protected:
virtual bool EnterUnsharesRow(int rowIndex, bool throughMouseClick);
protected virtual bool EnterUnsharesRow(int rowIndex, bool throughMouseClick);
abstract member EnterUnsharesRow : int * bool -> bool
override this.EnterUnsharesRow : int * bool -> bool
Protected Overridable Function EnterUnsharesRow (rowIndex As Integer, throughMouseClick As Boolean) As Boolean
매개 변수
- rowIndex
- Int32
셀의 부모 행 인덱스입니다.
- throughMouseClick
- Boolean
반품
true행이 공유되지 않는 경우 그렇지 않으면 . false 기본 DataGridViewCell 클래스는 항상 .를 반환합니다 false.
설명
메서드는 EnterUnsharesRow 메서드 바로 앞에 호출됩니다 OnEnter . 호출 true 이 셀을 포함하는 행을 공유 해제하는 효과가 있는 경우 반환 OnEnter 해야 합니다. 그렇지 않으면 반환 false되어야 합니다.
행 공유에 대한 자세한 내용은 Windows Forms DataGridView 컨트롤 확장을 위한 모범 사례를 참조하세요.
적용 대상
추가 정보
- DataGridView
- OnEnter(Int32, Boolean)
- OnLeave(Int32, Boolean)
- MouseEnterUnsharesRow(Int32)
- Windows Forms DataGridView 컨트롤의 크기 조정에 대한 모범 사례