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