|
Il presente articolo è stato tradotto automaticamente. Passare il puntatore sulle frasi nell'articolo per visualizzare il testo originale. Ulteriori informazioni.
|
Traduzione
Originale
|
Proprietà TabControl.HotTrack
Spazio dei nomi: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Valore proprietà
Tipo: System.Booleanusing System.Drawing; using System.Windows.Forms; public class Form1 : Form { private TabControl tabControl1; private TabPage tabPage1; private TabPage tabPage2; private void MyTabs() { this.tabControl1 = new TabControl(); this.tabPage1 = new TabPage(); this.tabPage2 = new TabPage(); this.tabControl1.Controls.AddRange(new Control[] { this.tabPage1, this.tabPage2}); this.tabControl1.Padding = new Point(15, 10); this.tabControl1.Location = new Point(35, 25); this.tabControl1.Size = new Size(220, 220); // Highlights TabPage.Text when the mouse passes over tabs. this.tabControl1.HotTrack = true; this.tabPage1.Text = "myTabPage1"; this.tabPage2.Text = "myTabPage2"; this.Size = new Size(300, 300); this.Controls.AddRange(new Control[] { this.tabControl1}); } public Form1() { MyTabs(); } static void Main() { Application.Run(new Form1()); } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (ruoli di base del server non supportati), Windows Server 2008 R2 (ruoli di base del server supportati con SP1 o versione successiva, Itanium non supportato)
.NET Framework non supporta tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.