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