9 writes to U
PresentationFramework (9)
System\Windows\Controls\WrapPanel.cs (9)
189U = V = 0d; 197U = V = 0d; 208set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 213set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 253panelSize.U = Math.Max(curLineSize.U, panelSize.U); 259panelSize.U = Math.Max(sz.U, panelSize.U); 266curLineSize.U += sz.U; 272panelSize.U = Math.Max(curLineSize.U, panelSize.U); 326curLineSize.U += sz.U;
21 references to U
PresentationFramework (21)
System\Windows\Controls\WrapPanel.cs (21)
207get { return (_orientation == Orientation.Horizontal ? U : V); } 212get { return (_orientation == Orientation.Horizontal ? V : U); } 251if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvConstraint.U)) //need to switch to another line 253panelSize.U = Math.Max(curLineSize.U, panelSize.U); 257if(DoubleUtil.GreaterThan(sz.U, uvConstraint.U)) //the element is wider then the constrint - give it a separate line 259panelSize.U = Math.Max(sz.U, panelSize.U); 266curLineSize.U += sz.U; 272panelSize.U = Math.Max(curLineSize.U, panelSize.U); 307if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvFinalSize.U)) //need to switch to another line 314if(DoubleUtil.GreaterThan(sz.U, uvFinalSize.U)) //the element is wider then the constraint - give it a separate line 326curLineSize.U += sz.U; 352double layoutSlotU = (useItemU ? itemU : childSize.U);