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; 2169if (_designerHost is not null) 2171_designerHost.TransactionOpened -= OnTransactionOpened; 2172_designerHost.TransactionClosed -= OnTransactionClosed; 2179if (_designerHost is not null) 2181_designerHost.TransactionOpened += OnTransactionOpened; 2182_designerHost.TransactionClosed += OnTransactionClosed; 2384if (e.OldDesigner is not null && e.OldDesigner == _designerHost) 2389if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 3489&& _designerHost?.Container?.Components is ComponentCollection components) 3710if (_designerHost is not null) 3715_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 4203_designerHost,