|
Il presente articolo è stato tradotto automaticamente. Passare il puntatore sulle frasi nell'articolo per visualizzare il testo originale. Ulteriori informazioni.
|
Traduzione
Originale
|
Proprietà PropertyGrid.ToolbarVisible
Spazio dei nomi: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Valore proprietà
Tipo: System.Boolean// Declare a propertyGrid. internal PropertyGrid propertyGrid1; // Initialize propertyGrid1. private void InitializePropertyGrid() { propertyGrid1 = new PropertyGrid(); propertyGrid1.Name = "PropertyGrid1"; propertyGrid1.Location = new System.Drawing.Point(185, 20); propertyGrid1.Size = new System.Drawing.Size(150, 300); propertyGrid1.TabIndex = 5; // Set the sort to alphabetical and set Toolbar visible // to false, so the user cannot change the sort. propertyGrid1.PropertySort = PropertySort.Alphabetical; propertyGrid1.ToolbarVisible = false; propertyGrid1.Text = "Property Grid"; // Add the PropertyGrid to the form, but set its // visibility to False so it will not appear when the form loads. propertyGrid1.Visible = false; this.Controls.Add(propertyGrid1); }
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.