4 writes to _wrapWidth
PresentationFramework (4)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
53_wrapWidth = double.IsNaN(WrapWidth) ? constraint.Width : WrapWidth; 106_wrapWidth = childDesiredSize.Width; 111_wrapWidth = Math.Min(_wrapWidth, constraint.Width); 155_wrapWidth = Math.Min(_wrapWidth, arrangeBounds.Width);
6 references to _wrapWidth
PresentationFramework (6)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (6)
104if (DoubleUtil.GreaterThan(childDesiredSize.Width, _wrapWidth)) 111_wrapWidth = Math.Min(_wrapWidth, constraint.Width); 118if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width, _wrapWidth)) //need to switch to another line 124if (DoubleUtil.GreaterThan(sz.Width, _wrapWidth)) //the element is wider then the constraint - give it a separate line 155_wrapWidth = Math.Min(_wrapWidth, arrangeBounds.Width); 162if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width, _wrapWidth)) //need to switch to another line