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