7 references to MeasureTextHelper
System.Windows.Forms (7)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (3)
1200
SizeF textSize = PropertyGrid.
MeasureTextHelper
.MeasureText(OwnerGrid, graphics, text, font);
1608
TextRenderer.DrawText(g, label, font, textRect, textColor, PropertyGrid.
MeasureTextHelper
.GetTextRendererFlags());
1944
(TextFormatFlags)format | PropertyGrid.
MeasureTextHelper
.GetTextRendererFlags());
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
301
SizeF sizef = PropertyGrid.
MeasureTextHelper
.MeasureText(_ownerGrid, g, _detailsButton.Text, _detailsButton.Font);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
90
SizeF sizef = PropertyGrid.
MeasureTextHelper
.MeasureText(OwnerPropertyGrid, g, _titleLabel.Text, Font, width);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
1071
SizeF sizeF = PropertyGrid.
MeasureTextHelper
.MeasureText(OwnerGrid, g, gridEntry.PropertyLabel, Font);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
614
SizeF sizef = PropertyGrid.
MeasureTextHelper
.MeasureText(