DataGridView.OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) DataGridView.OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) DataGridView.OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) DataGridView.OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) Method

정의

EditingControlShowing 이벤트를 발생시킵니다.Raises the EditingControlShowing event.

protected:
 virtual void OnEditingControlShowing(System::Windows::Forms::DataGridViewEditingControlShowingEventArgs ^ e);
protected virtual void OnEditingControlShowing (System.Windows.Forms.DataGridViewEditingControlShowingEventArgs e);
abstract member OnEditingControlShowing : System.Windows.Forms.DataGridViewEditingControlShowingEventArgs -> unit
override this.OnEditingControlShowing : System.Windows.Forms.DataGridViewEditingControlShowingEventArgs -> unit
Protected Overridable Sub OnEditingControlShowing (e As DataGridViewEditingControlShowingEventArgs)

매개 변수

설명

이벤트가 발생하면 대리자를 통해 이벤트 처리기가 호출됩니다.Raising an event invokes the event handler through a delegate. 자세한 내용은 이벤트 처리 및 발생합니다.For more information, see Handling and Raising Events.

또한 OnEditingControlShowing 메서드를 사용하면 파생 클래스가 대리자를 연결하지 않고도 이벤트를 처리할 수 있습니다.The OnEditingControlShowing method also allows derived classes to handle the event without attaching a delegate. 이는 파생 클래스에서 이벤트를 처리하는 기본 방법입니다.This is the preferred technique for handling the event in a derived class.

상속자 참고

재정의 하는 경우 OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) 파생된 클래스에서 호출 해야 기본 클래스 OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) 메서드 등록 된 대리자가 이벤트를 받도록 합니다.When overriding OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) in a derived class, be sure to call the base class' OnEditingControlShowing(DataGridViewEditingControlShowingEventArgs) method so that registered delegates receive the event.

적용 대상

추가 정보