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