23 references to CheckBoxRenderer
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
1031System.Drawing.Size boxSize = CheckBoxRenderer.GetGlyphSize(graphics, state); 1039CheckBoxRenderer.DrawCheckBox(graphics, p, state);
System.Windows.Forms (17)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (4)
266CheckBoxRenderer.DrawCheckBoxWithVisualStyles( 269CheckBoxRenderer.ConvertFromButtonState(style, isMixed: true, Control.MouseIsOver), 281CheckBoxRenderer.DrawCheckBoxWithVisualStyles( 284CheckBoxRenderer.ConvertFromButtonState(style, isMixed: false, Control.MouseIsOver),
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (2)
121layout.CheckSize = CheckBoxRenderer.GetGlyphSize( 123CheckBoxRenderer.ConvertFromButtonState(
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (7)
656Size checkBoxSize = CheckBoxRenderer.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal); 698FlatStyle.Flat => CheckBoxRenderer.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal).Width - 3, 699FlatStyle.Popup => CheckBoxRenderer.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal).Width - 2, 1156themeCheckBoxState = CheckBoxRenderer.ConvertFromButtonState( 1163checkBoxSize = CheckBoxRenderer.GetGlyphSize(g, themeCheckBoxState); 1184checkBoxSize = CheckBoxRenderer.GetGlyphSize(g, CheckBoxState.UncheckedNormal); 1189checkBoxSize = CheckBoxRenderer.GetGlyphSize(g, CheckBoxState.UncheckedNormal);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (4)
523VisualStyles.CheckBoxState cbState = CheckBoxRenderer.ConvertFromButtonState( 528_idealCheckSize = CheckBoxRenderer.GetGlyphSize(e, cbState, HWNDInternal).Width; 556VisualStyles.CheckBoxState cbState = CheckBoxRenderer.ConvertFromButtonState( 561CheckBoxRenderer.DrawCheckBoxWithVisualStyles(e, new Point(box.X, box.Y), cbState, HWNDInternal);
System.Windows.Forms.Tests (4)
System\Windows\Forms\CheckBoxRendererTests.cs (4)
31CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, false, cBState); 68CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, false, cBState); 105CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, textFormat, false, cBState); 139CheckBoxRenderer.DrawCheckBox(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, TextFormatFlags.Default, focus, cBState, HWND.Null);