3 writes to _columns
PresentationFramework (3)
System\Windows\Controls\Primitives\UniformGrid.cs (3)
247
_columns
= Columns;
294
_columns
= _rows;
300
_columns
= (nonCollapsedCount + (_rows - 1)) / _rows;
9 references to _columns
PresentationFramework (9)
System\Windows\Controls\Primitives\UniformGrid.cs (9)
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);
251
if (FirstColumn >=
_columns
)
258
if ((_rows == 0) || (
_columns
== 0))
281
if (
_columns
> 0)
284
_rows = (nonCollapsedCount + FirstColumn + (
_columns
- 1)) /
_columns
;
297
else if (
_columns
== 0)