Control.UpdateBounds メソッド

定義

コントロールの境界を更新します。

オーバーロード

名前 説明
UpdateBounds()

コントロールの境界を現在のサイズと場所で更新します。

UpdateBounds(Int32, Int32, Int32, Int32)

指定したサイズと場所でコントロールの境界を更新します。

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

指定したサイズ、場所、およびクライアント サイズでコントロールの境界を更新します。

UpdateBounds()

ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs

コントロールの境界を現在のサイズと場所で更新します。

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)

ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs

指定したサイズと場所でコントロールの境界を更新します。

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)

ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs

指定したサイズ、場所、およびクライアント サイズでコントロールの境界を更新します。

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 イベントが発生します。

こちらもご覧ください

適用対象