ToolBar.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengatur batas kontrol yang ToolBar ditentukan.
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
Nilai properti baru Left kontrol.
- y
- Int32
Nilai properti baru Top kontrol.
- width
- Int32
Nilai properti baru Width kontrol.
- height
- Int32
Tidak digunakan.
- specified
- BoundsSpecified
Kombinasi bitwise dari BoundsSpecified nilai.
Keterangan
Metode SetBoundsCore mengabaikan lebar jika Dock properti diatur ke Left atau Right dan AutoSize properti diatur ke true.
SetBoundsCore mengabaikan tinggi jika Dock properti diatur ke Top atau Bottom dan AutoSize properti diatur ke true.