2 writes to _referenceSize
PresentationFramework (2)
src\Framework\System\Windows\Controls\TextBlock.cs (2)
1301
_referenceSize
= constraint;
1312
_referenceSize
= constraint;
8 references to _referenceSize
PresentationFramework (8)
src\Framework\System\Windows\Controls\TextBlock.cs (8)
1290
bypassMeasure = DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) || (lineProperties.TextWrapping == TextWrapping.NoWrap);
1295
DoubleUtil.AreClose(constraint.Width,
_referenceSize
.Width) &&
1297
(DoubleUtil.AreClose(constraint.Height,
_referenceSize
.Height) || lineCount == 1);
2067
Size contentSize = new Size(Math.Max(0.0,
_referenceSize
.Width - (padding.Left + padding.Right)),
2068
Math.Max(0.0,
_referenceSize
.Height - (padding.Top + padding.Bottom)));
3278
if (width >
_referenceSize
.Width)
3280
width =
_referenceSize
.Width;
3283
bool usingReferenceWidth = DoubleUtil.AreClose(width,
_referenceSize
.Width);