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

Definitie

Hiermee stelt u de opgegeven grenzen van het ToolBar besturingselement in.

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

De nieuwe Left eigenschapswaarde van het besturingselement.

y
Int32

De nieuwe Top eigenschapswaarde van het besturingselement.

width
Int32

De nieuwe Width eigenschapswaarde van het besturingselement.

height
Int32

Niet gebruikt.

specified
BoundsSpecified

Een bitsgewijze combinatie van de BoundsSpecified waarden.

Opmerkingen

De SetBoundsCore methode negeert de breedte als de Dock eigenschap is ingesteld op Left of Right en de AutoSize eigenschap is ingesteld op true. SetBoundsCore negeert hoogte als de Dock eigenschap is ingesteld op Top of Bottom en de AutoSize eigenschap is ingesteld op true.

Van toepassing op