LinkLabel.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) Metode

Definisi

Melakukan pekerjaan pengaturan batas kontrol ini.

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)

Parameter

x
Int32

Kiri baru kontrol.

y
Int32

Hak baru kontrol.

width
Int32

Lebar kontrol baru.

height
Int32

Tinggi kontrol baru.

specified
BoundsSpecified

Nilai mana yang ditentukan. Parameter ini mencerminkan niat pengguna, bukan nilai mana yang telah berubah.

Keterangan

Mewarisi kelas dapat mengambil alih fungsi ini untuk menambahkan pembatasan ukuran. Mewarisi kelas harus memanggil base.setBoundsCore untuk benar-benar menyebabkan batas kontrol berubah.

Berlaku untuk