4 writes to _componentTray
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DocumentDesigner.cs (4)
355
_componentTray
= null;
408
_componentTray
= null;
861
_componentTray
= new ComponentTray(this, Component.Site);
915
_componentTray
= null;
31 references to _componentTray
System.Windows.Forms.Design (31)
System\Windows\Forms\Design\DocumentDesigner.cs (31)
199
_componentTray
?.AutoArrange = _trayAutoArrange;
210
_componentTray
?.ShowLargeIcons = _trayLargeIcon;
217
get =>
_componentTray
is not null ?
_componentTray
.Height : _trayHeight;
221
_componentTray
?.Height = _trayHeight;
233
return c ?? (
_componentTray
is not null ? ((IOleDragClient)
_componentTray
).GetControlForComponent(component) : null);
239
if (
_componentTray
is null)
262
if (
_componentTray
.IsTrayComponent(comp))
348
if (
_componentTray
is not null)
353
sws.RemoveSplitWindow(
_componentTray
);
354
_componentTray
.Dispose();
399
if (
_componentTray
is not null)
404
sws?.RemoveSplitWindow(
_componentTray
);
407
_componentTray
.Dispose();
859
if (
_componentTray
is null && TryGetService(out ISplitWindowService sws))
862
sws.AddSplitWindow(
_componentTray
);
864
_componentTray
.Height = _trayHeight;
865
_componentTray
.ShowLargeIcons = _trayLargeIcon;
866
_componentTray
.AutoArrange = _trayAutoArrange;
868
host.AddService(
_componentTray
);
871
if (
_componentTray
is not null)
882
_componentTray
.SuspendLayout();
885
_componentTray
.AddComponent(component);
901
if (!designableAsControl &&
_componentTray
is not null)
903
_componentTray
.RemoveComponent(ce.Component);
905
if (
_componentTray
.ComponentCount == 0)
910
sws.RemoveSplitWindow(
_componentTray
);
914
_componentTray
.Dispose();
1065
if (_trayLayoutSuspended &&
_componentTray
is not null)
1066
_componentTray
.ResumeLayout();