2 writes to _wrappedToolStrip
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (2)
53_wrappedToolStrip = toolStrip; 236_wrappedToolStrip = null!;
24 references to _wrappedToolStrip
System.Windows.Forms (24)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelCell.cs (24)
56_wrappedToolStrip.LocationChanging += OnToolStripLocationChanging; 57_wrappedToolStrip.VisibleChanged += OnToolStripVisibleChanged; 72get { return _wrappedToolStrip; } 80get { return (_wrappedToolStrip is not null && _wrappedToolStrip.IsInDesignMode); } 85get { return _wrappedToolStrip; } 90get { return _wrappedToolStrip; } 227if (_wrappedToolStrip is not null) 232_wrappedToolStrip.LocationChanging -= OnToolStripLocationChanging; 233_wrappedToolStrip.VisibleChanged -= OnToolStripVisibleChanged; 273preferredSize = _wrappedToolStrip.GetPreferredSize(constrainingSize); 279preferredSize = _wrappedToolStrip.GetPreferredSize(constrainingSize); 285preferredSize = (!_wrappedToolStrip.AutoSize) ? _wrappedToolStrip.Size : _wrappedToolStrip.GetPreferredSize(constrainingSize); 371if (_wrappedToolStrip is not null) 373ToolStripPanelRow.ToolStripPanel.Join(_wrappedToolStrip, newloc); 386if (_wrappedToolStrip is not null 387&& !_wrappedToolStrip.IsInDesignMode 388&& !_wrappedToolStrip.IsCurrentlyDragging 389&& !_wrappedToolStrip.IsDisposed // ensure we have a live-runtime only toolstrip. 390&& !_wrappedToolStrip.Disposing) 407ToolStripPanelRow.ToolStripPanel.Join(_wrappedToolStrip, _wrappedToolStrip.Location);