4 writes to _rows
PresentationFramework (4)
System\Windows\Controls\Primitives\UniformGrid.cs (4)
248
_rows
= Rows;
284
_rows
= (nonCollapsedCount + FirstColumn + (_columns - 1)) / _columns;
289
_rows
= (int)Math.Sqrt(nonCollapsedCount);
292
_rows
++;
10 references to _rows
PresentationFramework (10)
System\Windows\Controls\Primitives\UniformGrid.cs (10)
166
Size childConstraint = new Size(constraint.Width / _columns, constraint.Height /
_rows
);
190
return new Size((maxChildDesiredWidth * _columns),(maxChildDesiredHeight *
_rows
));
202
Rect childBounds = new Rect(0, 0, arrangeSize.Width / _columns, arrangeSize.Height /
_rows
);
258
if ((
_rows
== 0) || (_columns == 0))
279
if (
_rows
== 0)
290
if ((
_rows
*
_rows
) < nonCollapsedCount)
294
_columns =
_rows
;
300
_columns = (nonCollapsedCount + (
_rows
- 1)) /
_rows
;