Control.UpdateBounds メソッド

定義

コントロールの範囲を更新します。

オーバーロード

UpdateBounds()

コントロールの範囲を現在のサイズと位置で更新します。

UpdateBounds(Int32, Int32, Int32, Int32)

コントロールの範囲を指定したサイズと位置で更新します。

UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

コントロールの範囲を指定したサイズ、位置、およびクライアント サイズで更新します。

UpdateBounds()

コントロールの範囲を現在のサイズと位置で更新します。

protected:
 void UpdateBounds();
protected public:
 void UpdateBounds();
protected void UpdateBounds ();
protected internal void UpdateBounds ();
member this.UpdateBounds : unit -> unit
Protected Sub UpdateBounds ()
Protected Friend Sub UpdateBounds ()

注釈

コントロールの新しい Size が前 Sizeの と異なる場合、 SizeChanged イベントが発生します。 同様に、コントロールの が Location 変更されると、イベントが発生します LocationChanged

こちらもご覧ください

適用対象

UpdateBounds(Int32, Int32, Int32, Int32)

コントロールの範囲を指定したサイズと位置で更新します。

protected:
 void UpdateBounds(int x, int y, int width, int height);
protected void UpdateBounds (int x, int y, int width, int height);
member this.UpdateBounds : int * int * int * int -> unit
Protected Sub UpdateBounds (x As Integer, y As Integer, width As Integer, height As Integer)

パラメーター

x
Int32

コントロールの X 座標。

y
Int32

コントロールの Y 座標。

width
Int32

コントロールの Width

height
Int32

コントロールの Height

注釈

コントロールの新しい Size が前 Sizeの と異なる場合は、 SizeChanged イベントが発生します。 同様に、コントロールの が Location 変更され LocationChanged 、イベントが発生します。

こちらもご覧ください

適用対象

UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

コントロールの範囲を指定したサイズ、位置、およびクライアント サイズで更新します。

protected:
 void UpdateBounds(int x, int y, int width, int height, int clientWidth, int clientHeight);
protected void UpdateBounds (int x, int y, int width, int height, int clientWidth, int clientHeight);
member this.UpdateBounds : int * int * int * int * int * int -> unit
Protected Sub UpdateBounds (x As Integer, y As Integer, width As Integer, height As Integer, clientWidth As Integer, clientHeight As Integer)

パラメーター

x
Int32

コントロールの X 座標。

y
Int32

コントロールの Y 座標。

width
Int32

コントロールの Width

height
Int32

コントロールの Height

clientWidth
Int32

コントロールのクライアント Width

clientHeight
Int32

コントロールのクライアント Height

注釈

コントロールの新しい Size が前 Sizeの と異なる場合、 SizeChanged イベントが発生します。 同様に、コントロールの が Location 変更されると、イベントが発生します LocationChanged

こちらもご覧ください

適用対象