4 writes to _rows
PresentationFramework (4)
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (4)
264
_rows
= Rows;
300
_rows
= (nonCollapsedCount + FirstColumn + (_columns - 1)) / _columns;
305
_rows
= (int)Math.Sqrt(nonCollapsedCount);
308
_rows
++;
10 references to _rows
PresentationFramework (10)
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (10)
182
Size childConstraint = new Size(constraint.Width / _columns, constraint.Height /
_rows
);
206
return new Size((maxChildDesiredWidth * _columns),(maxChildDesiredHeight *
_rows
));
218
Rect childBounds = new Rect(0, 0, arrangeSize.Width / _columns, arrangeSize.Height /
_rows
);
274
if ((
_rows
== 0) || (_columns == 0))
295
if (
_rows
== 0)
306
if ((
_rows
*
_rows
) < nonCollapsedCount)
310
_columns =
_rows
;
316
_columns = (nonCollapsedCount + (
_rows
- 1)) /
_rows
;