1 write to _tray
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComponentTray.cs (1)
1920
_tray
= tray;
30 references to _tray
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ComponentTray.cs (30)
1963
get =>
_tray
.Font;
1994
if (
_tray
.ShowLargeIcons)
2014
_tray
._glyphManager?.UpdateLocation(this);
2017
protected override AccessibleObject CreateAccessibilityInstance() => new TrayControlAccessibleObject(this,
_tray
);
2090
if (!
_tray
.TabOrderActive)
2092
IDesignerHost host = (IDesignerHost)
_tray
.GetService(typeof(IDesignerHost));
2122
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2137
Debug.Assert(
_tray
._selectionUISvc is not null, "We shouldn't be able to begin a drag without this");
2138
if (
_tray
._selectionUISvc is not null &&
_tray
._selectionUISvc.Dragging)
2140
_tray
._selectionUISvc.EndDrag(cancel);
2150
if (
_tray
.TabOrderActive)
2155
_tray
.FocusDesigner();
2168
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2212
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2216
if (
_tray
._selectionUISvc is not null &&
_tray
._selectionUISvc.BeginDrag(SelectionRules.Visible | SelectionRules.Moveable, _mouseDragLast.X, _mouseDragLast.Y))
2242
if (!
_tray
.TabOrderActive)
2246
ISelectionService s = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2252
IMenuCommandService mcs =
_tray
.MenuService;
2284
if (
_tray
.ShowLargeIcons)
2322
InheritanceUI iui =
_tray
.InheritanceUI;
2344
_tray
._glyphManager?.UpdateLocation(this);
2391
if (
_tray
.TabOrderActive)
2413
if (!
_tray
.AutoArrange ||
2421
Size parentGridSize =
_tray
.ParentGridSize;
2430
if (value && !
_tray
.CanDisplayComponent(_component))
2445
_toolboxBitmap = attr.GetImage(_component,
_tray
.ShowLargeIcons);
2548
if (
_tray
._glyphManager is not null)
2557
_tray
._glyphManager.GetHitTest(pt);