20 writes to MeasureSize
PresentationFramework (20)
src\Framework\System\Windows\Controls\Grid.cs (20)
1193
definitions[i].
MeasureSize
= Math.Max(userMinSize, Math.Min(userSize, userMaxSize));
1729
definitions[i].
MeasureSize
= 0;
1739
definitions[i].
MeasureSize
= starValue;
1784
tempDefinitions[i].
MeasureSize
= resolvedSize;
1824
def.
MeasureSize
= 1.0; // meaning "not yet resolved in phase 3"
1890
def.
MeasureSize
= starWeight / def.MinSize;
1973
resolvedDef.
MeasureSize
= -resolvedSize;
2019
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2035
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2054
def.
MeasureSize
= -def.MeasureSize;
2060
def.
MeasureSize
= StarWeight(def, scale);
2089
def.
MeasureSize
= resolvedSize;
2169
definitions[i].
MeasureSize
= 0;
2179
definitions[i].
MeasureSize
= starValue;
2406
def.
MeasureSize
= 1.0; // meaning "not yet resolved in phase 3"
2468
def.
MeasureSize
= starWeight / def.MinSizeForArrange;
2589
resolvedDef.
MeasureSize
= -resolvedSize;
2635
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2651
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2676
def.
MeasureSize
= StarWeight(def, scale);
37 references to MeasureSize
PresentationFramework (37)
src\Framework\System\Windows\Controls\Grid.cs (37)
1463
: definitions[i].
MeasureSize
;
1719
takenSize += definitions[i].
MeasureSize
;
1763
allStarWeights += tempDefinitions[i].
MeasureSize
;
1771
double starValue = tempDefinitions[i].
MeasureSize
;
1874
takenSize += def.
MeasureSize
;
1877
if (def.
MeasureSize
< 0.0)
1879
takenSize += -def.
MeasureSize
; // already resolved
1930
if (def.SizeType == LayoutTimeSizeType.Star && def.
MeasureSize
> 0.0)
1939
double minRatio = (minCount > 0) ? tempDefinitions[minCount - 1].
MeasureSize
: Double.PositiveInfinity;
1982
while (minCount > 0 && tempDefinitions[minCount - 1].
MeasureSize
< 0.0)
1987
while (maxCount > 0 && tempDefinitions[defCount + maxCount - 1].
MeasureSize
< 0.0)
2051
if (def.
MeasureSize
< 0.0)
2054
def.MeasureSize = -def.
MeasureSize
;
2075
totalStarWeight += def.
MeasureSize
;
2083
double resolvedSize = (def.
MeasureSize
> 0.0) ? Math.Max(availableSize - takenSize, 0.0) * (def.
MeasureSize
/ def.SizeCache) : 0.0;
2251
allStarWeights += definitions[definitionIndices[i]].
MeasureSize
;
2259
double starValue = definitions[definitionIndices[i]].
MeasureSize
;
2455
if (def.
MeasureSize
< 0.0)
2457
takenSize += -def.
MeasureSize
; // already resolved
2543
if (def.UserSize.IsStar && def.
MeasureSize
> 0.0)
2552
double minRatio = (minCount > 0) ? definitions[definitionIndices[minCount - 1]].
MeasureSize
: Double.PositiveInfinity;
2598
while (minCount > 0 && definitions[definitionIndices[minCount - 1]].
MeasureSize
< 0.0)
2603
while (maxCount > 0 && definitions[definitionIndices[defCount + maxCount - 1]].
MeasureSize
< 0.0)
2667
if (def.
MeasureSize
< 0.0)
2670
def.SizeCache = -def.
MeasureSize
;
2692
totalStarWeight += def.
MeasureSize
;
2700
double resolvedSize = (def.
MeasureSize
> 0.0) ? Math.Max(finalSize - takenSize, 0.0) * (def.
MeasureSize
/ def.SizeCache) : 0.0;
3927
result = definitionY.
MeasureSize
.CompareTo(definitionX.
MeasureSize
);
3972
result = definitionX.
MeasureSize
.CompareTo(definitionY.
MeasureSize
);
4013
result = definitionY.
MeasureSize
.CompareTo(definitionX.
MeasureSize
);
4095
result = definitionX.
MeasureSize
.CompareTo(definitionY.
MeasureSize
);