4 writes to _rows
PresentationFramework (4)
System\Windows\Controls\Primitives\UniformGrid.cs (4)
256
_rows
= Rows;
292
_rows
= (nonCollapsedCount + FirstColumn + (_columns - 1)) / _columns;
297
_rows
= (int)Math.Sqrt(nonCollapsedCount);
300
_rows
++;
10 references to _rows
PresentationFramework (10)
System\Windows\Controls\Primitives\UniformGrid.cs (10)
174
Size childConstraint = new Size(constraint.Width / _columns, constraint.Height /
_rows
);
198
return new Size((maxChildDesiredWidth * _columns),(maxChildDesiredHeight *
_rows
));
210
Rect childBounds = new Rect(0, 0, arrangeSize.Width / _columns, arrangeSize.Height /
_rows
);
266
if ((
_rows
== 0) || (_columns == 0))
287
if (
_rows
== 0)
298
if ((
_rows
*
_rows
) < nonCollapsedCount)
302
_columns =
_rows
;
308
_columns = (nonCollapsedCount + (
_rows
- 1)) /
_rows
;