DataGridViewHeaderCell.MouseUpUnsharesRow 메서드

정의

포인터가 행의 셀에 있는 동안 마우스 단추를 놓을 때 행을 공유 해제할지 여부를 나타냅니다.

protected:
 override bool MouseUpUnsharesRow(System::Windows::Forms::DataGridViewCellMouseEventArgs ^ e);
protected override bool MouseUpUnsharesRow(System.Windows.Forms.DataGridViewCellMouseEventArgs e);
override this.MouseUpUnsharesRow : System.Windows.Forms.DataGridViewCellMouseEventArgs -> bool
Protected Overrides Function MouseUpUnsharesRow (e As DataGridViewCellMouseEventArgs) As Boolean

매개 변수

e
DataGridViewCellMouseEventArgs

DataGridViewCellMouseEventArgs 마우스 위치에 대한 정보가 들어 있는 A입니다.

반품

true마우스 왼쪽 단추가 해제되었으면 비주얼 스타일이 활성화되고 속성 EnableHeadersVisualStyles 이 사용되며 true 속성이 아닌 DataGridView경우 , 그렇지 않으면 nullfalse.

설명

비주얼 스타일을 사용하도록 설정하는 방법에 대한 자세한 내용은 메서드를 참조하세요 Application.EnableVisualStyles .

MouseUpUnsharesRow 는 바로 전에 OnMouseUp호출됩니다. 호출 true 이 행OnMouseUp을 공유 해제하는 효과가 있는 경우 반환 rowIndex 해야 합니다. 그렇지 않으면 반환 false 되어야 합니다.

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

적용 대상

추가 정보