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; 2124if (_designerHost is not null) 2126_designerHost.TransactionOpened -= OnTransactionOpened; 2127_designerHost.TransactionClosed -= OnTransactionClosed; 2134if (_designerHost is not null) 2136_designerHost.TransactionOpened += OnTransactionOpened; 2137_designerHost.TransactionClosed += OnTransactionClosed; 2339if (e.OldDesigner is not null && e.OldDesigner == _designerHost) 2344if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 3444&& _designerHost?.Container?.Components is ComponentCollection components) 3665if (_designerHost is not null) 3670_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 4158_designerHost,