4 writes to _wrapWidth
PresentationFramework (4)
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
65
_wrapWidth
= double.IsNaN(WrapWidth) ? constraint.Width : WrapWidth;
118
_wrapWidth
= childDesiredSize.Width;
123
_wrapWidth
= Math.Min(_wrapWidth, constraint.Width);
167
_wrapWidth
= Math.Min(_wrapWidth, arrangeBounds.Width);
6 references to _wrapWidth
PresentationFramework (6)
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (6)
116
if (DoubleUtil.GreaterThan(childDesiredSize.Width,
_wrapWidth
))
123
_wrapWidth = Math.Min(
_wrapWidth
, constraint.Width);
130
if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width,
_wrapWidth
)) //need to switch to another line
136
if (DoubleUtil.GreaterThan(sz.Width,
_wrapWidth
)) //the element is wider then the constraint - give it a separate line
167
_wrapWidth = Math.Min(
_wrapWidth
, arrangeBounds.Width);
174
if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width,
_wrapWidth
)) //need to switch to another line