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