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; 2125if (_designerHost is not null) 2127_designerHost.TransactionOpened -= OnTransactionOpened; 2128_designerHost.TransactionClosed -= OnTransactionClosed; 2135if (_designerHost is not null) 2137_designerHost.TransactionOpened += OnTransactionOpened; 2138_designerHost.TransactionClosed += OnTransactionClosed; 2340if (e.OldDesigner is not null && e.OldDesigner == _designerHost) 2345if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 3445&& _designerHost?.Container?.Components is ComponentCollection components) 3666if (_designerHost is not null) 3671_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 4165_designerHost,