4 writes to _componentTray
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DocumentDesigner.cs (4)
367
_componentTray
= null;
429
_componentTray
= null;
903
_componentTray
= new ComponentTray(this, Component.Site);
957
_componentTray
= null;
34 references to _componentTray
System.Windows.Forms.Design (34)
System\Windows\Forms\Design\DocumentDesigner.cs (34)
202
if (
_componentTray
is not null)
204
_componentTray
.AutoArrange = _trayAutoArrange;
216
if (
_componentTray
is not null)
218
_componentTray
.ShowLargeIcons = _trayLargeIcon;
226
get =>
_componentTray
is not null ?
_componentTray
.Height : _trayHeight;
230
if (
_componentTray
is not null)
232
_componentTray
.Height = _trayHeight;
245
return c ?? (
_componentTray
is not null ? ((IOleDragClient)
_componentTray
).GetControlForComponent(component) : null);
251
if (
_componentTray
is null)
274
if (
_componentTray
.IsTrayComponent(comp))
360
if (
_componentTray
is not null)
365
sws.RemoveSplitWindow(
_componentTray
);
366
_componentTray
.Dispose();
420
if (
_componentTray
is not null)
425
sws?.RemoveSplitWindow(
_componentTray
);
428
_componentTray
.Dispose();
901
if (
_componentTray
is null && TryGetService(out ISplitWindowService sws))
904
sws.AddSplitWindow(
_componentTray
);
906
_componentTray
.Height = _trayHeight;
907
_componentTray
.ShowLargeIcons = _trayLargeIcon;
908
_componentTray
.AutoArrange = _trayAutoArrange;
910
host.AddService(
_componentTray
);
913
if (
_componentTray
is not null)
924
_componentTray
.SuspendLayout();
927
_componentTray
.AddComponent(component);
943
if (!designableAsControl &&
_componentTray
is not null)
945
_componentTray
.RemoveComponent(ce.Component);
947
if (
_componentTray
.ComponentCount == 0)
952
sws.RemoveSplitWindow(
_componentTray
);
956
_componentTray
.Dispose();
1107
if (_trayLayoutSuspended &&
_componentTray
is not null)
1108
_componentTray
.ResumeLayout();