ComboBox.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) 方法

定義

設定 ComboBox 的大小和位置。

protected:
 override void SetBoundsCore(int x, int y, int width, int height, System::Windows::Forms::BoundsSpecified specified);
protected override void SetBoundsCore (int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified);
override this.SetBoundsCore : int * int * int * int * System.Windows.Forms.BoundsSpecified -> unit
Protected Overrides Sub SetBoundsCore (x As Integer, y As Integer, width As Integer, height As Integer, specified As BoundsSpecified)

參數

x
Int32

控制項的水平位置 (以像素為單位)。

y
Int32

控制項的垂直位置 (以像素為單位)。

width
Int32

控制項的寬度 (以像素為單位)。

height
Int32

控制項的高度 (以像素為單位)。

specified
BoundsSpecified

其中一個 BoundsSpecified 值。

適用於