ToolStripComboBox.OnSelectionChangeCommitted(EventArgs) 메서드

정의

SelectionChangeCommitted 이벤트를 발생시킵니다.

protected:
 virtual void OnSelectionChangeCommitted(EventArgs ^ e);
protected virtual void OnSelectionChangeCommitted (EventArgs e);
abstract member OnSelectionChangeCommitted : EventArgs -> unit
override this.OnSelectionChangeCommitted : EventArgs -> unit
Protected Overridable Sub OnSelectionChangeCommitted (e As EventArgs)

매개 변수

e
EventArgs

이벤트 데이터가 포함된 EventArgs입니다.

설명

SelectionChangeCommitted 사용자가 콤보 상자 선택 변경 하는 경우에 발생 합니다. 사용 하지 마세요 SelectedIndexChanged 또는 SelectedValueChanged 발생 하므로 이러한 이벤트는 또한 선택을 프로그래밍 방식으로 변경 하면 사용자의 변경 내용을 캡처할 수 있습니다. 이 이벤트는 를 설정할 SelectedIndex때도 발생합니다.

이벤트가 발생하면 대리자를 통해 이벤트 처리기가 호출됩니다. 자세한 내용은 이벤트 처리 및 발생합니다.

또한 OnSelectionChangeCommitted 메서드를 사용하면 파생 클래스가 대리자를 연결하지 않고도 이벤트를 처리할 수 있습니다. 이는 파생 클래스에서 이벤트를 처리하는 기본 방법입니다.

상속자 참고

재정의 하는 경우 OnSelectionChangeCommitted(EventArgs) 파생된 클래스에서 호출 해야 기본 클래스 OnSelectionChangeCommitted(EventArgs) 메서드 등록 된 대리자가 이벤트를 받도록 합니다.

적용 대상