ToolStripPanelRow.OnBoundsChanged(Rectangle, Rectangle) 메서드

정의

속성이 변경되면 Bounds 발생합니다.

protected:
 void OnBoundsChanged(System::Drawing::Rectangle oldBounds, System::Drawing::Rectangle newBounds);
protected void OnBoundsChanged(System.Drawing.Rectangle oldBounds, System.Drawing.Rectangle newBounds);
member this.OnBoundsChanged : System.Drawing.Rectangle * System.Drawing.Rectangle -> unit
Protected Sub OnBoundsChanged (oldBounds As Rectangle, newBounds As Rectangle)

매개 변수

oldBounds
Rectangle

속성의 원래 값입니다 Bounds .

newBounds
Rectangle

Bounds 속성의 새 값입니다.

설명

이벤트를 발생시키는 경우 대리자를 통해 이벤트 처리기가 호출됩니다. 자세한 내용은 이벤트 처리 및 발생을 참조하세요.

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

상속자 참고

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

적용 대상