System.Windows.Forms.ThemeWin32Classic.DrawRadioButtonText C# (CSharp) Method

DrawRadioButtonText() public method

public DrawRadioButtonText ( Graphics g, RadioButton rb, Rectangle textBounds ) : void
g System.Drawing.Graphics
rb RadioButton
textBounds System.Drawing.Rectangle
return void
		public virtual void DrawRadioButtonText (Graphics g, RadioButton rb, Rectangle textBounds)
		{
			if (rb.Enabled)
				TextRenderer.DrawTextInternal (g, rb.Text, rb.Font, textBounds, rb.ForeColor, rb.TextFormatFlags, rb.UseCompatibleTextRendering);
			else
				DrawStringDisabled20 (g, rb.Text, rb.Font, textBounds, rb.BackColor, rb.TextFormatFlags, rb.UseCompatibleTextRendering);
		}
ThemeWin32Classic