31 references to UserSize
PresentationFramework (31)
System\Windows\Controls\Grid.cs (31)
1091
switch (definitions[i].
UserSize
.GridUnitType)
1095
userSize = definitions[i].
UserSize
.Value;
1475
if (definitions[i].
UserSize
.IsAuto) autoDefinitionsCount++;
1500
Debug.Assert(tempDefinitions[i].
UserSize
.IsAuto);
1509
Debug.Assert(!tempDefinitions[i].
UserSize
.IsAuto);
1537
Debug.Assert(!tempDefinitions[i].
UserSize
.IsAuto);
1548
Debug.Assert(tempDefinitions[i].
UserSize
.IsAuto);
1652
double starValue = definitions[i].
UserSize
.Value;
1752
if (def.
UserSize
.Value > maxStar)
1754
maxStar = def.
UserSize
.Value;
2087
Debug.Assert(!definitions[i].IsShared || !definitions[i].
UserSize
.IsStar);
2089
if (definitions[i].
UserSize
.IsStar)
2091
double starValue = definitions[i].
UserSize
.Value;
2122
switch (definitions[i].
UserSize
.GridUnitType)
2125
userSize = definitions[i].
UserSize
.Value;
2327
if (def.
UserSize
.IsStar)
2331
if (def.
UserSize
.Value > maxStar)
2333
maxStar = def.
UserSize
.Value;
2375
if (def.
UserSize
.IsStar)
2408
switch (def.
UserSize
.GridUnitType)
2411
userSize = def.
UserSize
.Value;
2465
if (def.
UserSize
.IsStar && def.MeasureSize > 0.0)
2601
if (def.
UserSize
.IsStar)
3249
return (Double.IsPositiveInfinity(def.
UserSize
.Value)) ? 1.0 : 0.0;
3253
return def.
UserSize
.Value * scale;
3605
if (x.
UserSize
.IsAuto)
3607
if (y.
UserSize
.IsAuto)
3618
if (y.
UserSize
.IsAuto)
3638
if (x.
UserSize
.IsAuto)
3640
if (y.
UserSize
.IsAuto)
3651
if (y.
UserSize
.IsAuto)