Editar

Partilhar via


ToolBar.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) Method

Definition

Sets the specified bounds of the ToolBar control.

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)

Parameters

x
Int32

The new Left property value of the control.

y
Int32

The new Top property value of the control.

width
Int32

The new Width property value of the control.

height
Int32

Not used.

specified
BoundsSpecified

A bitwise combination of the BoundsSpecified values.

Remarks

The SetBoundsCore method ignores width if the Dock property is set to Left or Right and the AutoSize property is set to true. SetBoundsCore ignores height if the Dock property is set to Top or Bottom and the AutoSize property is set to true.

Applies to