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;
72
get { return
_wrappedToolStrip
; }
80
get { return (
_wrappedToolStrip
is not null &&
_wrappedToolStrip
.IsInDesignMode); }
85
get { return
_wrappedToolStrip
; }
90
get { return
_wrappedToolStrip
; }
227
if (
_wrappedToolStrip
is not null)
232
_wrappedToolStrip
.LocationChanging -= OnToolStripLocationChanging;
233
_wrappedToolStrip
.VisibleChanged -= OnToolStripVisibleChanged;
273
preferredSize =
_wrappedToolStrip
.GetPreferredSize(constrainingSize);
279
preferredSize =
_wrappedToolStrip
.GetPreferredSize(constrainingSize);
285
preferredSize = (!
_wrappedToolStrip
.AutoSize) ?
_wrappedToolStrip
.Size :
_wrappedToolStrip
.GetPreferredSize(constrainingSize);
371
if (
_wrappedToolStrip
is not null)
373
ToolStripPanelRow.ToolStripPanel.Join(
_wrappedToolStrip
, newloc);
386
if (
_wrappedToolStrip
is not null
387
&& !
_wrappedToolStrip
.IsInDesignMode
388
&& !
_wrappedToolStrip
.IsCurrentlyDragging
389
&& !
_wrappedToolStrip
.IsDisposed // ensure we have a live-runtime only toolstrip.
390
&& !
_wrappedToolStrip
.Disposing)
407
ToolStripPanelRow.ToolStripPanel.Join(
_wrappedToolStrip
,
_wrappedToolStrip
.Location);