1 write to NewDesigner
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\ActiveDesignerEventArgs.cs (1)
19NewDesigner = newDesigner;
9 references to NewDesigner
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
2349if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 2351ActiveDesigner = e.NewDesigner;
System\Windows\Forms\Design\EventsTab.cs (1)
31=> _currentHost = e.NewDesigner;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
534else if (e.NewDesigner == this)
System\ComponentModel\Design\DesignSurfaceManager.cs (1)
338DesignSurface? newSurface = e.NewDesigner?.GetService<DesignSurface>();
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\DesignerHostTests.cs (2)
2503IDesignerHost newDesigner = eventArgs.NewDesigner == s_placeholderHost ? host : eventArgs.NewDesigner;
System.Windows.Forms.Tests (1)
System\Windows\Forms\Design\EventsTabTests.cs (1)
119yield return new object[] { new ClassWithDefaultEvent(), e, e?.NewDesigner == mockDesignerHost.Object ? descriptor : null };