4 writes to _wrapWidth
PresentationFramework (4)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (4)
64
_wrapWidth
= double.IsNaN(WrapWidth) ? constraint.Width : WrapWidth;
117
_wrapWidth
= childDesiredSize.Width;
122
_wrapWidth
= Math.Min(_wrapWidth, constraint.Width);
166
_wrapWidth
= Math.Min(_wrapWidth, arrangeBounds.Width);
6 references to _wrapWidth
PresentationFramework (6)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (6)
115
if (DoubleUtil.GreaterThan(childDesiredSize.Width,
_wrapWidth
))
122
_wrapWidth = Math.Min(
_wrapWidth
, constraint.Width);
129
if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width,
_wrapWidth
)) //need to switch to another line
135
if (DoubleUtil.GreaterThan(sz.Width,
_wrapWidth
)) //the element is wider then the constraint - give it a separate line
166
_wrapWidth = Math.Min(
_wrapWidth
, arrangeBounds.Width);
173
if (DoubleUtil.GreaterThan(curLineSize.Width + sz.Width,
_wrapWidth
)) //need to switch to another line