9 references to GetGlyphSize
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
1031
System.Drawing.Size boxSize = CheckBoxRenderer.
GetGlyphSize
(graphics, state);
System.Windows.Forms (8)
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (2)
58
Rectangle glyphBounds = new(glyphLocation,
GetGlyphSize
(g, state));
192
Rectangle glyphBounds = new(glyphLocation,
GetGlyphSize
(g, state));
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (6)
656
Size checkBoxSize = CheckBoxRenderer.
GetGlyphSize
(graphics, CheckBoxState.UncheckedNormal);
698
FlatStyle.Flat => CheckBoxRenderer.
GetGlyphSize
(graphics, CheckBoxState.UncheckedNormal).Width - 3,
699
FlatStyle.Popup => CheckBoxRenderer.
GetGlyphSize
(graphics, CheckBoxState.UncheckedNormal).Width - 2,
1163
checkBoxSize = CheckBoxRenderer.
GetGlyphSize
(g, themeCheckBoxState);
1184
checkBoxSize = CheckBoxRenderer.
GetGlyphSize
(g, CheckBoxState.UncheckedNormal);
1189
checkBoxSize = CheckBoxRenderer.
GetGlyphSize
(g, CheckBoxState.UncheckedNormal);