21 writes to MeasureSize
PresentationFramework (21)
System\Windows\Controls\Grid.cs (21)
1130
definitions[i].
MeasureSize
= Math.Max(userMinSize, Math.Min(userSize, userMaxSize));
1665
definitions[i].
MeasureSize
= 0;
1675
definitions[i].
MeasureSize
= starValue;
1720
tempDefinitions[i].
MeasureSize
= resolvedSize;
1760
def.
MeasureSize
= 1.0; // meaning "not yet resolved in phase 3"
1826
def.
MeasureSize
= starWeight / def.MinSize;
1909
resolvedDef.
MeasureSize
= -resolvedSize;
1955
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
1971
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
1990
def.
MeasureSize
= -def.MeasureSize;
1996
def.
MeasureSize
= StarWeight(def, scale);
2025
def.
MeasureSize
= resolvedSize;
2105
definitions[i].
MeasureSize
= 0;
2115
definitions[i].
MeasureSize
= starValue;
2339
def.
MeasureSize
= 1.0; // meaning "not yet resolved in phase 3"
2401
def.
MeasureSize
= starWeight / def.MinSizeForArrange;
2520
resolvedDef.
MeasureSize
= -resolvedSize;
2565
resolvedDef.
MeasureSize
-= (finalSize - takenSize);
2580
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2596
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2621
def.
MeasureSize
= StarWeight(def, scale);
37 references to MeasureSize
PresentationFramework (37)
System\Windows\Controls\Grid.cs (37)
1399
: definitions[i].
MeasureSize
;
1655
takenSize += definitions[i].
MeasureSize
;
1699
allStarWeights += tempDefinitions[i].
MeasureSize
;
1707
double starValue = tempDefinitions[i].
MeasureSize
;
1810
takenSize += def.
MeasureSize
;
1813
if (def.
MeasureSize
< 0.0)
1815
takenSize += -def.
MeasureSize
; // already resolved
1866
if (def.SizeType == LayoutTimeSizeType.Star && def.
MeasureSize
> 0.0)
1875
double minRatio = (minCount > 0) ? tempDefinitions[minCount - 1].
MeasureSize
: Double.PositiveInfinity;
1918
while (minCount > 0 && tempDefinitions[minCount - 1].
MeasureSize
< 0.0)
1923
while (maxCount > 0 && tempDefinitions[defCount + maxCount - 1].
MeasureSize
< 0.0)
1987
if (def.
MeasureSize
< 0.0)
1990
def.MeasureSize = -def.
MeasureSize
;
2011
totalStarWeight += def.
MeasureSize
;
2019
double resolvedSize = (def.
MeasureSize
> 0.0) ? Math.Max(availableSize - takenSize, 0.0) * (def.
MeasureSize
/ def.SizeCache) : 0.0;
2186
allStarWeights += definitions[definitionIndices[i]].
MeasureSize
;
2194
double starValue = definitions[definitionIndices[i]].
MeasureSize
;
2388
if (def.
MeasureSize
< 0.0)
2390
takenSize += -def.
MeasureSize
; // already resolved
2474
if (def.UserSize.IsStar && def.
MeasureSize
> 0.0)
2483
double minRatio = (minCount > 0) ? definitions[definitionIndices[minCount - 1]].
MeasureSize
: Double.PositiveInfinity;
2529
while (minCount > 0 && definitions[definitionIndices[minCount - 1]].
MeasureSize
< 0.0)
2534
while (maxCount > 0 && definitions[definitionIndices[defCount + maxCount - 1]].
MeasureSize
< 0.0)
2612
if (def.
MeasureSize
< 0.0)
2615
def.SizeCache = -def.
MeasureSize
;
2636
totalStarWeight += def.
MeasureSize
;
2644
double resolvedSize = (def.
MeasureSize
> 0.0) ? Math.Max(finalSize - takenSize, 0.0) * (def.
MeasureSize
/ def.SizeCache) : 0.0;
3763
result = y.
MeasureSize
.CompareTo(x.
MeasureSize
);
3794
result = x.
MeasureSize
.CompareTo(y.
MeasureSize
);
3819
result = definitionY.
MeasureSize
.CompareTo(definitionX.
MeasureSize
);
3871
result = definitionX.
MeasureSize
.CompareTo(definitionY.
MeasureSize
);