ControlDesigner.OnControlResize 메서드

정의

주의

The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202

디자인 타임에 디자인 호스트에서 연결된 웹 서버 컨트롤의 크기가 조정되었을 때 호출됩니다.

protected:
 virtual void OnControlResize();
protected virtual void OnControlResize ();
[System.Obsolete("The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void OnControlResize ();
abstract member OnControlResize : unit -> unit
override this.OnControlResize : unit -> unit
[<System.Obsolete("The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member OnControlResize : unit -> unit
override this.OnControlResize : unit -> unit
Protected Overridable Sub OnControlResize ()
특성

설명

참고

OnControlResize 메서드는 사용 되지 않습니다. 사용 된 OnComponentChanged 동일한 컨트롤 디자이너 기능에 대 한 메서드.

이 메서드는 OnControlResize 일반적으로 사용자 작업으로 인해 연결된 웹 서버 컨트롤의 크기가 조정되는 경우 디자인 타임 환경에서만 호출됩니다. OnControlResize 크기 조정이 완료되기 전에 컨트롤의 업데이트된 크기를 표시하기 위해 크기 조정 프로세스 중에 메서드를 여러 번 호출할 수 있습니다. 메서드가 호출되기 전에 컨트롤의 너비 및 높이 속성이 OnControlResize 업데이트됩니다.

적용 대상

추가 정보