1 write to _tray
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ComponentTray.cs (1)
1905
_tray
= tray;
30 references to _tray
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ComponentTray.cs (30)
1945
get =>
_tray
.Font;
1976
if (
_tray
.ShowLargeIcons)
1996
_tray
._glyphManager?.UpdateLocation(this);
1999
protected override AccessibleObject CreateAccessibilityInstance() => new TrayControlAccessibleObject(this,
_tray
);
2072
if (!
_tray
.TabOrderActive)
2074
IDesignerHost host = (IDesignerHost)
_tray
.GetService(typeof(IDesignerHost));
2104
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2119
Debug.Assert(
_tray
._selectionUISvc is not null, "We shouldn't be able to begin a drag without this");
2120
if (
_tray
._selectionUISvc is not null &&
_tray
._selectionUISvc.Dragging)
2122
_tray
._selectionUISvc.EndDrag(cancel);
2132
if (
_tray
.TabOrderActive)
2137
_tray
.FocusDesigner();
2150
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2194
ISelectionService sel = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2198
if (
_tray
._selectionUISvc is not null &&
_tray
._selectionUISvc.BeginDrag(SelectionRules.Visible | SelectionRules.Moveable, _mouseDragLast.X, _mouseDragLast.Y))
2224
if (!
_tray
.TabOrderActive)
2228
ISelectionService s = (ISelectionService)
_tray
.GetService(typeof(ISelectionService));
2234
IMenuCommandService mcs =
_tray
.MenuService;
2266
if (
_tray
.ShowLargeIcons)
2304
InheritanceUI iui =
_tray
.InheritanceUI;
2326
_tray
._glyphManager?.UpdateLocation(this);
2373
if (
_tray
.TabOrderActive)
2395
if (!
_tray
.AutoArrange ||
2403
Size parentGridSize =
_tray
.ParentGridSize;
2412
if (value && !
_tray
.CanDisplayComponent(_component))
2427
_toolboxBitmap = attr.GetImage(_component,
_tray
.ShowLargeIcons);
2530
if (
_tray
._glyphManager is not null)
2539
_tray
._glyphManager.GetHitTest(pt);