9 writes to U
PresentationFramework (9)
src\Framework\System\Windows\Controls\WrapPanel.cs (9)
191U = V = 0d; 199U = V = 0d; 210set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 215set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 255panelSize.U = Math.Max(curLineSize.U, panelSize.U); 261panelSize.U = Math.Max(sz.U, panelSize.U); 268curLineSize.U += sz.U; 274panelSize.U = Math.Max(curLineSize.U, panelSize.U); 328curLineSize.U += sz.U;
21 references to U
PresentationFramework (21)
src\Framework\System\Windows\Controls\WrapPanel.cs (21)
209get { return (_orientation == Orientation.Horizontal ? U : V); } 214get { return (_orientation == Orientation.Horizontal ? V : U); } 253if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvConstraint.U)) //need to switch to another line 255panelSize.U = Math.Max(curLineSize.U, panelSize.U); 259if(DoubleUtil.GreaterThan(sz.U, uvConstraint.U)) //the element is wider then the constrint - give it a separate line 261panelSize.U = Math.Max(sz.U, panelSize.U); 268curLineSize.U += sz.U; 274panelSize.U = Math.Max(curLineSize.U, panelSize.U); 309if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvFinalSize.U)) //need to switch to another line 316if(DoubleUtil.GreaterThan(sz.U, uvFinalSize.U)) //the element is wider then the constraint - give it a separate line 328curLineSize.U += sz.U; 354double layoutSlotU = (useItemU ? itemU : childSize.U);