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)
166Size childConstraint = new Size(constraint.Width / _columns, constraint.Height / _rows); 190return new Size((maxChildDesiredWidth * _columns),(maxChildDesiredHeight * _rows)); 202Rect childBounds = new Rect(0, 0, arrangeSize.Width / _columns, arrangeSize.Height / _rows); 258if ((_rows == 0) || (_columns == 0)) 279if (_rows == 0) 290if ((_rows * _rows) < nonCollapsedCount) 294_columns = _rows; 300_columns = (nonCollapsedCount + (_rows - 1)) / _rows;