5 references to GetGlyphSize
System.Windows.Forms (5)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (1)
114
layout.checkSize = CheckBoxRenderer.
GetGlyphSize
(g, CheckBoxRenderer.ConvertFromButtonState(GetState(), true, Control.MouseIsOver), Control.HandleInternal).Width;
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (3)
104
Rectangle glyphBounds = new Rectangle(glyphLocation,
GetGlyphSize
(g, state, hWnd));
145
Rectangle glyphBounds = new Rectangle(glyphLocation,
GetGlyphSize
(g, state, hWnd));
231
return
GetGlyphSize
(g, state, IntPtr.Zero);
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
682
idealCheckSize = (int)(CheckBoxRenderer.
GetGlyphSize
(e.Graphics, cbState, HandleInternal)).Width;