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