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