4 writes to _wrapWidth
PresentationFramework (4)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
54
_wrapWidth
= double.IsNaN(WrapWidth) ? constraint.Width : WrapWidth;
107
_wrapWidth
= childDesiredSize.Width;
112
_wrapWidth
= Math.Min(_wrapWidth, constraint.Width);
156
_wrapWidth
= Math.Min(_wrapWidth, arrangeBounds.Width);
6 references to _wrapWidth
PresentationFramework (6)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (6)
105
if (DoubleUtil.GreaterThan(childDesiredSize.Width,
_wrapWidth
))
112
_wrapWidth = Math.Min(
_wrapWidth
, constraint.Width);
119
if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width,
_wrapWidth
)) //need to switch to another line
125
if (DoubleUtil.GreaterThan(sz.Width,
_wrapWidth
)) //the element is wider then the constraint - give it a separate line
156
_wrapWidth = Math.Min(
_wrapWidth
, arrangeBounds.Width);
163
if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width,
_wrapWidth
)) //need to switch to another line