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

定義

執行設定這個控制項其範圍的工作。

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

指定的值。 這個參數用來反映使用者意圖,而不是反映變更的值。

備註

繼承類別可以覆寫此函式以新增大小限制。 繼承類別必須呼叫 base.setBoundsCore ,才能實際造成控制項界限變更。

適用於