3 writes to designerHost
System.Windows.Forms (3)
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
296designerHost = (IDesignerHost)GetService(typeof(IDesignerHost)); 320this.designerHost = null; 343designerHost = value;
21 references to designerHost
System.Windows.Forms (21)
winforms\Managed\System\WinForms\PropertyGrid.cs (21)
295if (this.designerHost == null) { 298return this.designerHost; 301if (value != designerHost) { 303if (this.designerHost != null) { 304IComponentChangeService cs = (IComponentChangeService)designerHost.GetService(typeof(IComponentChangeService)); 311IPropertyValueUIService pvSvc = (IPropertyValueUIService)designerHost.GetService(typeof(IPropertyValueUIService)); 316designerHost.TransactionOpened -= new EventHandler(this.OnTransactionOpened); 317designerHost.TransactionClosed -= new DesignerTransactionCloseEventHandler(this.OnTransactionClosed); 2501if (this.designerHost != null) { 2502designerHost.TransactionOpened -= new EventHandler(this.OnTransactionOpened); 2503designerHost.TransactionClosed -= new DesignerTransactionCloseEventHandler(this.OnTransactionClosed); 2509if (this.designerHost != null) { 2510designerHost.TransactionOpened += new EventHandler(this.OnTransactionOpened); 2511designerHost.TransactionClosed += new DesignerTransactionCloseEventHandler(this.OnTransactionClosed); 2735if (e.OldDesigner != null && e.OldDesigner == designerHost) { 2739if (e.NewDesigner != null && e.NewDesigner != designerHost) { 3953if (tabScope <= PropertyTabScope.Document && designerHost != null) { 3954IContainer container = designerHost.Container; 4211if (designerHost != null) { 4215designerSelections[designerHost.GetHashCode()] = selectedViewTab; 4716peMain = (GridEntry)GridEntry.Create(gridView, currentObjects, new PropertyGridServiceProvider(this), designerHost, this.SelectedTab, propertySortValue);