2 writes to _referenceSize
PresentationFramework (2)
System\Windows\Controls\TextBlock.cs (2)
1223
_referenceSize
= constraint;
1234
_referenceSize
= constraint;
9 references to _referenceSize
PresentationFramework (9)
System\Windows\Controls\TextBlock.cs (9)
1212
bypassMeasure = DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) || (lineProperties.TextWrapping == TextWrapping.NoWrap);
1217
DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) &&
1219
(DoubleUtil.AreClose(constraint.Height,
_referenceSize
.Height) || lineCount == 1);
1978
Size contentSize = new Size(Math.Max(0.0,
_referenceSize
.Width - (padding.Left + padding.Right)),
1979
Math.Max(0.0,
_referenceSize
.Height - (padding.Top + padding.Bottom)));
3188
if (width >
_referenceSize
.Width)
3190
width =
_referenceSize
.Width;
3193
bool usingReferenceWidth = DoubleUtil.AreClose(width,
_referenceSize
.Width);
3302
double goodWidth =
_referenceSize
.Width; // no reflow at this width