3 writes to _designerHost
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
245get => _designerHost ??= GetService<IDesignerHost>(); 273_designerHost = null; 295_designerHost = value;
18 references to _designerHost
System.Windows.Forms (18)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (18)
248if (value == _designerHost) 254if (_designerHost is not null) 256if (_designerHost.TryGetService(out IComponentChangeService? changeService)) 263if (_designerHost.TryGetService(out IPropertyValueUIService? propertyValueService)) 268_designerHost.TransactionOpened -= OnTransactionOpened; 269_designerHost.TransactionClosed -= OnTransactionClosed; 2123if (_designerHost is not null) 2125_designerHost.TransactionOpened -= OnTransactionOpened; 2126_designerHost.TransactionClosed -= OnTransactionClosed; 2133if (_designerHost is not null) 2135_designerHost.TransactionOpened += OnTransactionOpened; 2136_designerHost.TransactionClosed += OnTransactionClosed; 2338if (e.OldDesigner is not null && e.OldDesigner == _designerHost) 2343if (e.NewDesigner is not null && e.NewDesigner != _designerHost) 3443&& _designerHost?.Container?.Components is ComponentCollection components) 3664if (_designerHost is not null) 3669_designerSelections[_designerHost.GetHashCode()] = _tabs.IndexOf(_selectedTab!); 4163_designerHost,