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;
2121
if (
_designerHost
is not null)
2123
_designerHost
.TransactionOpened -= OnTransactionOpened;
2124
_designerHost
.TransactionClosed -= OnTransactionClosed;
2131
if (
_designerHost
is not null)
2133
_designerHost
.TransactionOpened += OnTransactionOpened;
2134
_designerHost
.TransactionClosed += OnTransactionClosed;
2336
if (e.OldDesigner is not null && e.OldDesigner ==
_designerHost
)
2341
if (e.NewDesigner is not null && e.NewDesigner !=
_designerHost
)
3441
&&
_designerHost
?.Container?.Components is ComponentCollection components)
3662
if (
_designerHost
is not null)
3667
_designerSelections[
_designerHost
.GetHashCode()] = _tabs.IndexOf(_selectedTab!);
4161
_designerHost
,