ToolBar.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定控制的指定界限 ToolBar 。
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
Left控制的新財產價值。
- y
- Int32
Top控制的新財產價值。
- width
- Int32
Width控制的新財產價值。
- height
- Int32
未使用。
- specified
- BoundsSpecified
這是數值的位元組合 BoundsSpecified 。
備註
SetBoundsCore若Dock將性質設Left為或Right,且AutoSize將性質設為 true,則該方法忽略寬度。
SetBoundsCore 若 Dock 屬性設為 Top 或 BottomAutoSize 且屬性設為 true,則忽略高度。