3 writes to _designerHost
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
247get => _designerHost ??= GetService<IDesignerHost>(); 275_designerHost = null; 297_designerHost = value;
18 references to _designerHost
System.Windows.Forms (18)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (18)
250if (value == _designerHost) 256if (_designerHost is not null) 258if (_designerHost.TryGetService(out IComponentChangeService? changeService)) 265if (_designerHost.TryGetService(out IPropertyValueUIService? propertyValueService)) 270_designerHost.TransactionOpened -= OnTransactionOpened; 271_designerHost.TransactionClosed -= OnTransactionClosed; 2121if (_designerHost is not null) 2123_designerHost.TransactionOpened -= OnTransactionOpened; 2124_designerHost.TransactionClosed -= OnTransactionClosed; 2131if (_designerHost is not null) 2133_designerHost.TransactionOpened += OnTransactionOpened; 2134_designerHost.TransactionClosed += OnTransactionClosed; 2336if (e.OldDesigner is not null && e.OldDesigner == _designerHost) 2341if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 3441&& _designerHost?.Container?.Components is ComponentCollection components) 3662if (_designerHost is not null) 3667_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 4161_designerHost,