9 writes to U
PresentationFramework (9)
System\Windows\Controls\WrapPanel.cs (9)
178U = V = 0d; 186U = V = 0d; 197set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 202set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 242panelSize.U = Math.Max(curLineSize.U, panelSize.U); 248panelSize.U = Math.Max(sz.U, panelSize.U); 255curLineSize.U += sz.U; 261panelSize.U = Math.Max(curLineSize.U, panelSize.U); 315curLineSize.U += sz.U;
21 references to U
PresentationFramework (21)
System\Windows\Controls\WrapPanel.cs (21)
196get { return (_orientation == Orientation.Horizontal ? U : V); } 201get { return (_orientation == Orientation.Horizontal ? V : U); } 240if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvConstraint.U)) //need to switch to another line 242panelSize.U = Math.Max(curLineSize.U, panelSize.U); 246if(DoubleUtil.GreaterThan(sz.U, uvConstraint.U)) //the element is wider then the constrint - give it a separate line 248panelSize.U = Math.Max(sz.U, panelSize.U); 255curLineSize.U += sz.U; 261panelSize.U = Math.Max(curLineSize.U, panelSize.U); 296if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvFinalSize.U)) //need to switch to another line 303if(DoubleUtil.GreaterThan(sz.U, uvFinalSize.U)) //the element is wider then the constraint - give it a separate line 315curLineSize.U += sz.U; 341double layoutSlotU = (useItemU ? itemU : childSize.U);