2 writes to _wrappedToolStrip
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (2)
53
this.
_wrappedToolStrip
= control as ToolStrip;
213
_wrappedToolStrip
= null;
25 references to _wrappedToolStrip
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (25)
57
else if (
_wrappedToolStrip
== null) {
61
_wrappedToolStrip
.LocationChanging += new ToolStripLocationCancelEventHandler(this.OnToolStripLocationChanging);
62
_wrappedToolStrip
.VisibleChanged += new EventHandler(this.OnToolStripVisibleChanged);
75
get { return
_wrappedToolStrip
; }
82
get { return (
_wrappedToolStrip
!= null &&
_wrappedToolStrip
.IsInDesignMode); }
86
get { return
_wrappedToolStrip
as IArrangedElement; }
90
get { return
_wrappedToolStrip
as ISupportToolStripPanel; }
206
if (
_wrappedToolStrip
!= null) {
210
_wrappedToolStrip
.LocationChanging -= new ToolStripLocationCancelEventHandler(this.OnToolStripLocationChanging);
211
_wrappedToolStrip
.VisibleChanged -= new EventHandler(this.OnToolStripVisibleChanged);
242
preferredSize =
_wrappedToolStrip
.GetPreferredSize(constrainingSize);
247
preferredSize =
_wrappedToolStrip
.GetPreferredSize(constrainingSize);
252
preferredSize = (!
_wrappedToolStrip
.AutoSize) ?
_wrappedToolStrip
.Size :
_wrappedToolStrip
.GetPreferredSize(constrainingSize);
339
if (
_wrappedToolStrip
!= null) {
340
ToolStripPanelRow.ToolStripPanel.Join(
_wrappedToolStrip
, newloc);
352
if (
_wrappedToolStrip
!= null
353
&& !
_wrappedToolStrip
.IsInDesignMode
355
&& !
_wrappedToolStrip
.IsCurrentlyDragging
356
&& !
_wrappedToolStrip
.IsDisposed // ensure we have a live-runtime only toolstrip.
357
&& !
_wrappedToolStrip
.Disposing) {
370
ToolStripPanelRow.ToolStripPanel.Join(
_wrappedToolStrip
,
_wrappedToolStrip
.Location);