8 references to MeasureTextCache
System.Windows.Forms (8)
System\Windows\Forms\Controls\Labels\Label.cs (7)
146
MeasureTextCache
.InvalidateCache();
784
MeasureTextCache
.InvalidateCache();
929
if (!
MeasureTextCache
.TextRequiresWordBreak(Text, Font, constrainingSize, flags))
1075
requiredSize =
MeasureTextCache
.GetTextSize(Text, Font, proposedConstraints, format);
1196
MeasureTextCache
.InvalidateCache();
1215
MeasureTextCache
.InvalidateCache();
1341
MeasureTextCache
.InvalidateCache();
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1071
Size requiredSize =
MeasureTextCache
.GetTextSize(Text, Font, finalRectSize, CreateTextFormatFlags(finalRectSize));