3 writes to _designerHost
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
247
get =>
_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)
250
if (value ==
_designerHost
)
256
if (
_designerHost
is not null)
258
if (
_designerHost
.TryGetService(out IComponentChangeService? changeService))
265
if (
_designerHost
.TryGetService(out IPropertyValueUIService? propertyValueService))
270
_designerHost
.TransactionOpened -= OnTransactionOpened;
271
_designerHost
.TransactionClosed -= OnTransactionClosed;
2125
if (
_designerHost
is not null)
2127
_designerHost
.TransactionOpened -= OnTransactionOpened;
2128
_designerHost
.TransactionClosed -= OnTransactionClosed;
2135
if (
_designerHost
is not null)
2137
_designerHost
.TransactionOpened += OnTransactionOpened;
2138
_designerHost
.TransactionClosed += OnTransactionClosed;
2340
if (e.OldDesigner is not null && e.OldDesigner ==
_designerHost
)
2345
if (e.NewDesigner is not null && e.NewDesigner !=
_designerHost
)
3445
&&
_designerHost
?.Container?.Components is ComponentCollection components)
3666
if (
_designerHost
is not null)
3671
_designerSelections[
_designerHost
.GetHashCode()] = _tabs.IndexOf(_selectedTab!);
4165
_designerHost
,