3 writes to _designerHost
System.Windows.Forms (3)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
251
get =>
_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)
254
if (value ==
_designerHost
)
260
if (
_designerHost
is not null)
262
if (
_designerHost
.TryGetService(out IComponentChangeService? changeService))
269
if (
_designerHost
.TryGetService(out IPropertyValueUIService? propertyValueService))
274
_designerHost
.TransactionOpened -= OnTransactionOpened;
275
_designerHost
.TransactionClosed -= OnTransactionClosed;
2169
if (
_designerHost
is not null)
2171
_designerHost
.TransactionOpened -= OnTransactionOpened;
2172
_designerHost
.TransactionClosed -= OnTransactionClosed;
2179
if (
_designerHost
is not null)
2181
_designerHost
.TransactionOpened += OnTransactionOpened;
2182
_designerHost
.TransactionClosed += OnTransactionClosed;
2384
if (e.OldDesigner is not null && e.OldDesigner ==
_designerHost
)
2389
if (e.NewDesigner is not null && e.NewDesigner !=
_designerHost
)
3489
&&
_designerHost
?.Container?.Components is ComponentCollection components)
3710
if (
_designerHost
is not null)
3715
_designerSelections[
_designerHost
.GetHashCode()] = _tabs.IndexOf(_selectedTab!);
4203
_designerHost
,