4 writes to _componentTray
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DocumentDesigner.cs (4)
355
_componentTray
= null;
417
_componentTray
= null;
891
_componentTray
= new ComponentTray(this, Component.Site);
945
_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();
408
if (
_componentTray
is not null)
413
sws?.RemoveSplitWindow(
_componentTray
);
416
_componentTray
.Dispose();
889
if (
_componentTray
is null && TryGetService(out ISplitWindowService sws))
892
sws.AddSplitWindow(
_componentTray
);
894
_componentTray
.Height = _trayHeight;
895
_componentTray
.ShowLargeIcons = _trayLargeIcon;
896
_componentTray
.AutoArrange = _trayAutoArrange;
898
host.AddService(
_componentTray
);
901
if (
_componentTray
is not null)
912
_componentTray
.SuspendLayout();
915
_componentTray
.AddComponent(component);
931
if (!designableAsControl &&
_componentTray
is not null)
933
_componentTray
.RemoveComponent(ce.Component);
935
if (
_componentTray
.ComponentCount == 0)
940
sws.RemoveSplitWindow(
_componentTray
);
944
_componentTray
.Dispose();
1095
if (_trayLayoutSuspended &&
_componentTray
is not null)
1096
_componentTray
.ResumeLayout();