2 writes to _referenceSize
PresentationFramework (2)
System\Windows\Controls\TextBlock.cs (2)
1211
_referenceSize
= constraint;
1222
_referenceSize
= constraint;
9 references to _referenceSize
PresentationFramework (9)
System\Windows\Controls\TextBlock.cs (9)
1200
bypassMeasure = DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) || (lineProperties.TextWrapping == TextWrapping.NoWrap);
1205
DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) &&
1207
(DoubleUtil.AreClose(constraint.Height,
_referenceSize
.Height) || lineCount == 1);
1957
Size contentSize = new Size(Math.Max(0.0,
_referenceSize
.Width - (padding.Left + padding.Right)),
1958
Math.Max(0.0,
_referenceSize
.Height - (padding.Top + padding.Bottom)));
3169
if (width >
_referenceSize
.Width)
3171
width =
_referenceSize
.Width;
3174
bool usingReferenceWidth = DoubleUtil.AreClose(width,
_referenceSize
.Width);
3283
double goodWidth =
_referenceSize
.Width; // no reflow at this width