24 references to RadioButtonRenderer
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (2)
207RadioButtonRenderer.DrawRadioButtonWithVisualStyles( 210RadioButtonRenderer.ConvertFromButtonState(style, Control.MouseIsOver),
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (2)
67layout.CheckSize = RadioButtonRenderer.GetGlyphSize( 69RadioButtonRenderer.ConvertFromButtonState(GetState(), b.MouseIsOver),
System.Windows.Forms.Tests (20)
System\Windows\Forms\RadioButtonRendererTests.cs (20)
31RadioButtonRenderer.DrawRadioButton(graphics, point, rBState); 63RadioButtonRenderer.DrawRadioButton(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, false, rBState); 100RadioButtonRenderer.DrawRadioButton(graphics, point, bounds, control.Text, SystemFonts.DefaultFont, textFormat, false, rBState); 127RadioButtonRenderer.DrawRadioButton( 167bool original = RadioButtonRenderer.RenderMatchingApplicationState; 171RadioButtonRenderer.RenderMatchingApplicationState = false; 172bool resultWithVisualStyles = RadioButtonRenderer.IsBackgroundPartiallyTransparent(state); 174RadioButtonRenderer.RenderMatchingApplicationState = true; 175bool resultWithoutVisualStyles = RadioButtonRenderer.IsBackgroundPartiallyTransparent(state); 193RadioButtonRenderer.RenderMatchingApplicationState = original; 207bool original = RadioButtonRenderer.RenderMatchingApplicationState; 210RadioButtonRenderer.RenderMatchingApplicationState = renderMatchingApplicationState; 211RadioButtonRenderer.DrawParentBackground(g, new Rectangle(0, 0, 10, 10), child); 215RadioButtonRenderer.RenderMatchingApplicationState = original; 234RadioButtonRenderer.DrawRadioButton( 260RadioButtonRenderer.DrawRadioButton( 283Size size = RadioButtonRenderer.GetGlyphSize(g, state); 313typeof(RadioButtonRenderer) 341RadioButtonRenderer.ConvertToButtonState(radioState).Should().Be(expected); 355RadioButtonRenderer.ConvertFromButtonState(buttonState, isHot).Should().Be(expected);