2 writes to _referenceSize
PresentationFramework (2)
System\Windows\Controls\TextBlock.cs (2)
1210
_referenceSize
= constraint;
1221
_referenceSize
= constraint;
9 references to _referenceSize
PresentationFramework (9)
System\Windows\Controls\TextBlock.cs (9)
1199
bypassMeasure = DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) || (lineProperties.TextWrapping == TextWrapping.NoWrap);
1204
DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) &&
1206
(DoubleUtil.AreClose(constraint.Height,
_referenceSize
.Height) || lineCount == 1);
1956
Size contentSize = new Size(Math.Max(0.0,
_referenceSize
.Width - (padding.Left + padding.Right)),
1957
Math.Max(0.0,
_referenceSize
.Height - (padding.Top + padding.Bottom)));
3168
if (width >
_referenceSize
.Width)
3170
width =
_referenceSize
.Width;
3173
bool usingReferenceWidth = DoubleUtil.AreClose(width,
_referenceSize
.Width);
3282
double goodWidth =
_referenceSize
.Width; // no reflow at this width