3 writes to _designerHost
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
251get => _designerHost ??= GetService<IDesignerHost>(); 279_designerHost = null; 301_designerHost = value;
18 references to _designerHost
System.Windows.Forms (18)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (18)
254if (value == _designerHost) 260if (_designerHost is not null) 262if (_designerHost.TryGetService(out IComponentChangeService? changeService)) 269if (_designerHost.TryGetService(out IPropertyValueUIService? propertyValueService)) 274_designerHost.TransactionOpened -= OnTransactionOpened; 275_designerHost.TransactionClosed -= OnTransactionClosed; 2176if (_designerHost is not null) 2178_designerHost.TransactionOpened -= OnTransactionOpened; 2179_designerHost.TransactionClosed -= OnTransactionClosed; 2186if (_designerHost is not null) 2188_designerHost.TransactionOpened += OnTransactionOpened; 2189_designerHost.TransactionClosed += OnTransactionClosed; 2391if (e.OldDesigner is not null && e.OldDesigner == _designerHost) 2396if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 3496&& _designerHost?.Container?.Components is ComponentCollection components) 3717if (_designerHost is not null) 3722_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 4213_designerHost,