1 write to _tray
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComponentTray.cs (1)
1914
_tray
= tray;
30 references to _tray
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ComponentTray.cs (30)
1957
get =>
_tray
.Font;
1988
if (
_tray
.ShowLargeIcons)
2008
_tray
._glyphManager?.UpdateLocation(this);
2011
protected override AccessibleObject CreateAccessibilityInstance() => new TrayControlAccessibleObject(this,
_tray
);
2084
if (!
_tray
.TabOrderActive)
2086
IDesignerHost host = (IDesignerHost)
_tray
.GetService(typeof(IDesignerHost));
2116
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2131
Debug.Assert(
_tray
._selectionUISvc is not null, "We shouldn't be able to begin a drag without this");
2132
if (
_tray
._selectionUISvc is not null &&
_tray
._selectionUISvc.Dragging)
2134
_tray
._selectionUISvc.EndDrag(cancel);
2144
if (
_tray
.TabOrderActive)
2149
_tray
.FocusDesigner();
2162
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2206
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2210
if (
_tray
._selectionUISvc is not null &&
_tray
._selectionUISvc.BeginDrag(SelectionRules.Visible | SelectionRules.Moveable, _mouseDragLast.X, _mouseDragLast.Y))
2236
if (!
_tray
.TabOrderActive)
2240
ISelectionService s = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2246
IMenuCommandService mcs =
_tray
.MenuService;
2278
if (
_tray
.ShowLargeIcons)
2316
InheritanceUI iui =
_tray
.InheritanceUI;
2338
_tray
._glyphManager?.UpdateLocation(this);
2385
if (
_tray
.TabOrderActive)
2407
if (!
_tray
.AutoArrange ||
2415
Size parentGridSize =
_tray
.ParentGridSize;
2424
if (value && !
_tray
.CanDisplayComponent(_component))
2439
_toolboxBitmap = attr.GetImage(_component,
_tray
.ShowLargeIcons);
2542
if (
_tray
._glyphManager is not null)
2551
_tray
._glyphManager.GetHitTest(pt);