Index: src/DeltaShell/DeltaShell.Gui/Forms/PropertyGrid/PropertyGrid.cs =================================================================== diff -u -rce0ca6c24ee89db3f2f8e7051a0bb0a2073c9ff1 -r1ce74e53cfb4da00c733f9973f6e43c8ed23f575 --- src/DeltaShell/DeltaShell.Gui/Forms/PropertyGrid/PropertyGrid.cs (.../PropertyGrid.cs) (revision ce0ca6c24ee89db3f2f8e7051a0bb0a2073c9ff1) +++ src/DeltaShell/DeltaShell.Gui/Forms/PropertyGrid/PropertyGrid.cs (.../PropertyGrid.cs) (revision 1ce74e53cfb4da00c733f9973f6e43c8ed23f575) @@ -1,4 +1,5 @@ using System; +using System.CodeDom; using System.Collections; using System.Collections.Generic; using System.ComponentModel; @@ -75,6 +76,11 @@ gui.SelectionChanged += GuiSelectionChanged; + // removing "property tabs" button and separator before it + var strip = propertyGrid1.Controls.OfType().ToList()[0] as ToolStrip; + strip.Items[3].Visible = false; + strip.Items[4].Visible = false; + // TODO: make timer start only when property was changed and then stop refreshTimer = new Timer(); refreshTimer.Tick += delegate @@ -457,7 +463,7 @@ } } } - + propertyGrid1.SelectedObject = SelectedObjects.Count() > 1 ? SelectedObjects[1] : SelectedObjects[0]; }