ControlDesigner.OnControlResize メソッド
メモ : このメソッドは、互換性のために残されています。 旧式でない代替が必要な場合は、OnComponentChanged を使用してください。
関連付けられている Web サーバー コントロールのサイズがデザイン時にデザイン ホストで変更された場合に呼び出されます。 名前空間: System.Web.UI.Designアセンブリ: System.Design (system.design.dll 内)

<ObsoleteAttribute("The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202")> _ Protected Overridable Sub OnControlResize
Me.OnControlResize
[ObsoleteAttribute("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 ()
[ObsoleteAttribute(L"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 ()

![]() |
---|
OnControlResize メソッドは今後使用しません。コントロール デザイナの同等の機能を利用するには、OnComponentChanged メソッドを使用します。 |
OnControlResize メソッドは、通常、関連付けられている Web サーバー コントロールのサイズがユーザーの動作によって変更された場合に、デザイン時環境でだけ呼び出されます。OnControlResize メソッドは、サイズ変更処理中に複数回呼び出して、サイズ変更処理が完了する前に更新されたコントロールのサイズを表示する場合があります。コントロールの幅のプロパティおよび高さのプロパティは、OnControlResize メソッドが呼び出される前に更新されます。


Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ControlDesigner.OnControlResize メソッドのページへのリンク