3 writes to _columns
PresentationFramework (3)
System\Windows\Controls\Primitives\UniformGrid.cs (3)
246
_columns
= Columns;
293
_columns
= _rows;
299
_columns
= (nonCollapsedCount + (_rows - 1)) / _rows;
9 references to _columns
PresentationFramework (9)
System\Windows\Controls\Primitives\UniformGrid.cs (9)
165
Size childConstraint = new Size(constraint.Width /
_columns
, constraint.Height / _rows);
189
return new Size((maxChildDesiredWidth *
_columns
),(maxChildDesiredHeight * _rows));
201
Rect childBounds = new Rect(0, 0, arrangeSize.Width /
_columns
, arrangeSize.Height / _rows);
250
if (FirstColumn >=
_columns
)
257
if ((_rows == 0) || (
_columns
== 0))
280
if (
_columns
> 0)
283
_rows = (nonCollapsedCount + FirstColumn + (
_columns
- 1)) /
_columns
;
296
else if (
_columns
== 0)