winforms\Managed\System\WinForms\RadioButtonRenderer.cs (31)
63public static bool IsBackgroundPartiallyTransparent(RadioButtonState state) {
98public static void DrawRadioButton(Graphics g, Point glyphLocation, RadioButtonState state) {
102internal static void DrawRadioButton(Graphics g, Point glyphLocation, RadioButtonState state, IntPtr hWnd) {
121public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, bool focused, RadioButtonState state) {
133public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, TextFormatFlags flags, bool focused, RadioButtonState state) {
137internal static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, TextFormatFlags flags, bool focused, RadioButtonState state, IntPtr hWnd) {
165public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, Image image, Rectangle imageBounds, bool focused, RadioButtonState state) {
179public static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused, RadioButtonState state) {
183internal static void DrawRadioButton(Graphics g, Point glyphLocation, Rectangle textBounds, string radioButtonText, Font font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused, RadioButtonState state, IntPtr hWnd) {
217public static Size GetGlyphSize(Graphics g, RadioButtonState state) {
221internal static Size GetGlyphSize(Graphics g, RadioButtonState state, IntPtr hWnd) {
231internal static ButtonState ConvertToButtonState(RadioButtonState state) {
233case RadioButtonState.CheckedNormal:
234case RadioButtonState.CheckedHot:
236case RadioButtonState.CheckedPressed:
238case RadioButtonState.CheckedDisabled:
241case RadioButtonState.UncheckedPressed:
243case RadioButtonState.UncheckedDisabled:
251internal static RadioButtonState ConvertFromButtonState(ButtonState state, bool isHot) {
254return RadioButtonState.CheckedPressed;
257return RadioButtonState.CheckedDisabled;
260return RadioButtonState.CheckedHot;
263return RadioButtonState.CheckedNormal;
267return RadioButtonState.UncheckedPressed;
270return RadioButtonState.UncheckedDisabled;
273return RadioButtonState.UncheckedHot;
276return RadioButtonState.UncheckedNormal;
281RadioButtonState radioButtonState = (RadioButtonState)state;
285&& (radioButtonState == RadioButtonState.CheckedDisabled || radioButtonState == RadioButtonState.UncheckedDisabled)