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