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