21 writes to MeasureSize
PresentationFramework (21)
System\Windows\Controls\Grid.cs (21)
1120
definitions[i].
MeasureSize
= Math.Max(userMinSize, Math.Min(userSize, userMaxSize));
1655
definitions[i].
MeasureSize
= 0;
1665
definitions[i].
MeasureSize
= starValue;
1710
tempDefinitions[i].
MeasureSize
= resolvedSize;
1750
def.
MeasureSize
= 1.0; // meaning "not yet resolved in phase 3"
1816
def.
MeasureSize
= starWeight / def.MinSize;
1899
resolvedDef.
MeasureSize
= -resolvedSize;
1945
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
1961
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
1980
def.
MeasureSize
= -def.MeasureSize;
1986
def.
MeasureSize
= StarWeight(def, scale);
2015
def.
MeasureSize
= resolvedSize;
2095
definitions[i].
MeasureSize
= 0;
2105
definitions[i].
MeasureSize
= starValue;
2329
def.
MeasureSize
= 1.0; // meaning "not yet resolved in phase 3"
2391
def.
MeasureSize
= starWeight / def.MinSizeForArrange;
2510
resolvedDef.
MeasureSize
= -resolvedSize;
2555
resolvedDef.
MeasureSize
-= (finalSize - takenSize);
2570
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2586
def.
MeasureSize
= 1.0; // mark as 'not yet resolved'
2611
def.
MeasureSize
= StarWeight(def, scale);
37 references to MeasureSize
PresentationFramework (37)
System\Windows\Controls\Grid.cs (37)
1389
: definitions[i].
MeasureSize
;
1645
takenSize += definitions[i].
MeasureSize
;
1689
allStarWeights += tempDefinitions[i].
MeasureSize
;
1697
double starValue = tempDefinitions[i].
MeasureSize
;
1800
takenSize += def.
MeasureSize
;
1803
if (def.
MeasureSize
< 0.0)
1805
takenSize += -def.
MeasureSize
; // already resolved
1856
if (def.SizeType == LayoutTimeSizeType.Star && def.
MeasureSize
> 0.0)
1865
double minRatio = (minCount > 0) ? tempDefinitions[minCount - 1].
MeasureSize
: Double.PositiveInfinity;
1908
while (minCount > 0 && tempDefinitions[minCount - 1].
MeasureSize
< 0.0)
1913
while (maxCount > 0 && tempDefinitions[defCount + maxCount - 1].
MeasureSize
< 0.0)
1977
if (def.
MeasureSize
< 0.0)
1980
def.MeasureSize = -def.
MeasureSize
;
2001
totalStarWeight += def.
MeasureSize
;
2009
double resolvedSize = (def.
MeasureSize
> 0.0) ? Math.Max(availableSize - takenSize, 0.0) * (def.
MeasureSize
/ def.SizeCache) : 0.0;
2176
allStarWeights += definitions[definitionIndices[i]].
MeasureSize
;
2184
double starValue = definitions[definitionIndices[i]].
MeasureSize
;
2378
if (def.
MeasureSize
< 0.0)
2380
takenSize += -def.
MeasureSize
; // already resolved
2464
if (def.UserSize.IsStar && def.
MeasureSize
> 0.0)
2473
double minRatio = (minCount > 0) ? definitions[definitionIndices[minCount - 1]].
MeasureSize
: Double.PositiveInfinity;
2519
while (minCount > 0 && definitions[definitionIndices[minCount - 1]].
MeasureSize
< 0.0)
2524
while (maxCount > 0 && definitions[definitionIndices[defCount + maxCount - 1]].
MeasureSize
< 0.0)
2602
if (def.
MeasureSize
< 0.0)
2605
def.SizeCache = -def.
MeasureSize
;
2626
totalStarWeight += def.
MeasureSize
;
2634
double resolvedSize = (def.
MeasureSize
> 0.0) ? Math.Max(finalSize - takenSize, 0.0) * (def.
MeasureSize
/ def.SizeCache) : 0.0;
3753
result = y.
MeasureSize
.CompareTo(x.
MeasureSize
);
3784
result = x.
MeasureSize
.CompareTo(y.
MeasureSize
);
3809
result = definitionY.
MeasureSize
.CompareTo(definitionX.
MeasureSize
);
3861
result = definitionX.
MeasureSize
.CompareTo(definitionY.
MeasureSize
);