9 writes to U
PresentationFramework (9)
System\Windows\Controls\WrapPanel.cs (9)
179U = V = 0d; 187U = V = 0d; 198set { if(_orientation == Orientation.Horizontal) U = value; else V = value; } 203set { if(_orientation == Orientation.Horizontal) V = value; else U = value; } 243panelSize.U = Math.Max(curLineSize.U, panelSize.U); 249panelSize.U = Math.Max(sz.U, panelSize.U); 256curLineSize.U += sz.U; 262panelSize.U = Math.Max(curLineSize.U, panelSize.U); 316curLineSize.U += sz.U;
21 references to U
PresentationFramework (21)
System\Windows\Controls\WrapPanel.cs (21)
197get { return (_orientation == Orientation.Horizontal ? U : V); } 202get { return (_orientation == Orientation.Horizontal ? V : U); } 241if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvConstraint.U)) //need to switch to another line 243panelSize.U = Math.Max(curLineSize.U, panelSize.U); 247if(DoubleUtil.GreaterThan(sz.U, uvConstraint.U)) //the element is wider then the constrint - give it a separate line 249panelSize.U = Math.Max(sz.U, panelSize.U); 256curLineSize.U += sz.U; 262panelSize.U = Math.Max(curLineSize.U, panelSize.U); 297if (DoubleUtil.GreaterThan(curLineSize.U + sz.U, uvFinalSize.U)) //need to switch to another line 304if(DoubleUtil.GreaterThan(sz.U, uvFinalSize.U)) //the element is wider then the constraint - give it a separate line 316curLineSize.U += sz.U; 342double layoutSlotU = (useItemU ? itemU : childSize.U);