6 references to ConvertFromButtonState
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
222
CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.
ConvertFromButtonState
(style, true, Control.MouseIsOver), Control.HandleInternal);
230
CheckBoxRenderer.DrawCheckBox(g, new Point(layout.checkBounds.Left, layout.checkBounds.Top), CheckBoxRenderer.
ConvertFromButtonState
(style, false, Control.MouseIsOver), Control.HandleInternal);
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\CheckedListBox.cs (2)
681
VisualStyles.CheckBoxState cbState = CheckBoxRenderer.
ConvertFromButtonState
(state, false, ((e.State & DrawItemState.HotLight) == DrawItemState.HotLight));
711
VisualStyles.CheckBoxState cbState = CheckBoxRenderer.
ConvertFromButtonState
(state, false, ((e.State & DrawItemState.HotLight) == DrawItemState.HotLight));
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1259
themeCheckBoxState = CheckBoxRenderer.
ConvertFromButtonState
(bs, drawAsMixedCheckBox,