DataGridViewCellMouseEventHandler 대리자

정의

DataGridView에서 발생시킨 마우스 관련 이벤트를 처리할 메서드를 나타냅니다.

public delegate void DataGridViewCellMouseEventHandler(System::Object ^ sender, DataGridViewCellMouseEventArgs ^ e);
public delegate void DataGridViewCellMouseEventHandler(object sender, DataGridViewCellMouseEventArgs e);
public delegate void DataGridViewCellMouseEventHandler(object? sender, DataGridViewCellMouseEventArgs e);
type DataGridViewCellMouseEventHandler = delegate of obj * DataGridViewCellMouseEventArgs -> unit
Public Delegate Sub DataGridViewCellMouseEventHandler(sender As Object, e As DataGridViewCellMouseEventArgs)

매개 변수

sender
Object

이벤트 소스입니다.

e
DataGridViewCellMouseEventArgs

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

설명

합니다 DataGridViewCellMouseEventHandler 대리자에는 다음 처리 DataGridView 이벤트:

DataGridViewCellMouseEventHandler 대리자를 만들 때, 이벤트를 처리할 메서드를 식별합니다. 이벤트를 이벤트 처리기와 연결하려면 대리자의 인스턴스를 해당 이벤트에 추가합니다. 대리자를 제거하지 않는 경우 이벤트가 발생할 때마다 이벤트 처리기가 호출됩니다. 이벤트 처리기 대리자에 대 한 자세한 내용은 참조 하세요. 이벤트 처리 및 발생합니다.

확장 메서드

GetMethodInfo(Delegate)

지정된 대리자가 나타내는 메서드를 나타내는 개체를 가져옵니다.

적용 대상

추가 정보