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

Definición

Establece los límites especificados del control ToolBar.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)

Parámetros

x
Int32 Int32 Int32 Int32

Nuevo valor de la propiedad Left del control.The new Left property value of the control.

y
Int32 Int32 Int32 Int32

Nuevo valor de la propiedad Top del control.The new Top property value of the control.

width
Int32 Int32 Int32 Int32

Nuevo valor de la propiedad Width del control.The new Width property value of the control.

height
Int32 Int32 Int32 Int32

No se utiliza.Not used.

specified
BoundsSpecified BoundsSpecified BoundsSpecified BoundsSpecified

Combinación bit a bit de los valores de BoundsSpecified.A bitwise combination of the BoundsSpecified values.

Comentarios

El SetBoundsCore método omite width si la Dock propiedad está establecida en Left o Right y la AutoSize propiedad está establecida en true.The SetBoundsCore method ignores width if the Dock property is set to Left or Right and the AutoSize property is set to true. SetBoundsCoreomite height si la Dock propiedad está establecida en Top o Bottom y la AutoSize propiedad está establecida en true.SetBoundsCore ignores height if the Dock property is set to Top or Bottom and the AutoSize property is set to true.

Se aplica a