# C1.Win.Input.C1RadioButton.CheckedIcon

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Input_C1RadioButton_CheckedIcon_" data-uid="C1.Win.Input.C1RadioButton.CheckedIcon*">CheckedIcon Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Input_C1RadioButton_CheckedIcon_" data-uid="C1.Win.Input.C1RadioButton.CheckedIcon*"></a>
<h4 id="C1_Win_Input_C1RadioButton_CheckedIcon" data-uid="C1.Win.Input.C1RadioButton.CheckedIcon">CheckedIcon</h4>
<div class="markdown level1 summary"><p>Gets or sets a custom <a class="xref" href="../C1.Win.10/C1.Framework.C1Icon.html">C1Icon</a> for the checked state of the radio button.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public C1Icon CheckedIcon { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public Property CheckedIcon As C1Icon</code></pre>
</div>
<h5 id="C1_Win_Input_C1RadioButton_CheckedIcon_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Use the FrontIcon key for the front icon, this key applies the ForeColor to this icon.
Use the BorderIcon key for the border icon, this key applies the BorderColor to this icon.
Use the BackIcon key for the back icon, this key applies the BackColor to this icon.</p>
</div>
<h5 id="C1_Win_Input_C1RadioButton_CheckedIcon_examples">Examples</h5>
<pre><code class="lang-csharp">public static C1Icon CheckedRadio
{
    get
    {
        var mainIcon = new C1CompositeIcon();
        var markIcon = new C1PathIcon
        {
            Data = "M 2.5,5 a 2.5,2.5 0 1,0 5,0 a 2.5,2.5 0 1,0 -5,0 Z",
            ViewBox = new Rectangle(0, 0, 11, 11),
            Key = "FrontIcon"
        };
        var borderIcon = new C1PathIcon
        {
            Data = "M 0 5 a 5,5 0 1,0 10,0a 5,5 0 1,0 -10,0 Z",
            ViewBox = new Rectangle(0, 0, 11, 11),
            Key = "BorderIcon"
        };
        var backIcon = new C1PathIcon
        {
            Data = "M 0.5,5 a 4.5,4.5 0 1,0 9,0a 4.5,4.5 0 1,0 -9,0 Z",
            ViewBox = new Rectangle(0, 0, 11, 11),
            Key = "BackIcon"
        };
        mainIcon.Icons.Add(borderIcon);
        mainIcon.Icons.Add(backIcon);
        mainIcon.Icons.Add(markIcon);
        mainIcon.Size = new Size(20, 20);
        return mainIcon;
    }
}

    C1RadioButton.CheckedIcon = CheckedRadio;

    C1RadioButton.Styles.Normal.Glyph.Checked.Default.BackColor = Color.FromArgb(0, 95, 184);
    C1RadioButton.Styles.Normal.Glyph.Checked.Default.ForeColor = Color.White;
    C1RadioButton.Styles.Normal.Glyph.Checked.Default.BorderColor = Color.FromArgb(0, 95, 184);
    C1RadioButton.Styles.Normal.Glyph.Checked.Hot.BackColor = Color.FromArgb(26, 111, 191);
    C1RadioButton.Styles.Normal.Glyph.Checked.Hot.ForeColor = Color.White;
    C1RadioButton.Styles.Normal.Glyph.Checked.Hot.BorderColor = Color.FromArgb(26, 111, 191);
    C1RadioButton.Styles.Normal.Glyph.Checked.Pressed.BackColor = Color.FromArgb(51, 127, 198);
    C1RadioButton.Styles.Normal.Glyph.Checked.Pressed.ForeColor = Color.FromArgb(194, 217, 238);
    C1RadioButton.Styles.Normal.Glyph.Checked.Pressed.BorderColor = Color.FromArgb(51, 127, 198);
    C1RadioButton.Styles.Normal.Glyph.Checked.HotPressed.BackColor = Color.FromArgb(51, 127, 198);
    C1RadioButton.Styles.Normal.Glyph.Checked.HotPressed.ForeColor = Color.FromArgb(194, 217, 238);
    C1RadioButton.Styles.Normal.Glyph.Checked.HotPressed.BorderColor = Color.FromArgb(51, 127, 198);
    C1RadioButton.Styles.Normal.Glyph.Checked.Disabled.BackColor = Color.FromArgb(200, 200, 200);
    C1RadioButton.Styles.Normal.Glyph.Checked.Disabled.ForeColor = Color.FromArgb(255, 255, 255);
    C1RadioButton.Styles.Normal.Glyph.Checked.Disabled.BorderColor = Color.FromArgb(200, 200, 200);</code></pre>

</div>
