4 writes to _componentTray
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DocumentDesigner.cs (4)
355
_componentTray
= null;
411
_componentTray
= null;
864
_componentTray
= new ComponentTray(this, Component.Site);
918
_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();
402
if (
_componentTray
is not null)
407
sws?.RemoveSplitWindow(
_componentTray
);
410
_componentTray
.Dispose();
862
if (
_componentTray
is null && TryGetService(out ISplitWindowService sws))
865
sws.AddSplitWindow(
_componentTray
);
867
_componentTray
.Height = _trayHeight;
868
_componentTray
.ShowLargeIcons = _trayLargeIcon;
869
_componentTray
.AutoArrange = _trayAutoArrange;
871
host.AddService(
_componentTray
);
874
if (
_componentTray
is not null)
885
_componentTray
.SuspendLayout();
888
_componentTray
.AddComponent(component);
904
if (!designableAsControl &&
_componentTray
is not null)
906
_componentTray
.RemoveComponent(ce.Component);
908
if (
_componentTray
.ComponentCount == 0)
913
sws.RemoveSplitWindow(
_componentTray
);
917
_componentTray
.Dispose();
1068
if (_trayLayoutSuspended &&
_componentTray
is not null)
1069
_componentTray
.ResumeLayout();