public static C1Icon UncheckedRadio
{
get
{
var mainIcon = new C1CompositeIcon();
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.Size = new Size(20, 20);
return mainIcon;
}
}
C1RadioButton.UncheckedIcon = UncheckedRadio;
C1RadioButton.Styles.Normal.Glyph.Unchecked.Default.BackColor = Color.FromArgb(249, 249, 249);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Default.ForeColor = Color.FromArgb(255, 255, 255);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Default.BorderColor = Color.FromArgb(100, 100, 100);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Hot.BackColor = Color.FromArgb(240, 240, 240);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Hot.ForeColor = Color.FromArgb(255, 255, 255);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Hot.BorderColor = Color.FromArgb(147, 147, 147);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Pressed.BackColor = Color.FromArgb(231, 231, 231);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Pressed.ForeColor = Color.FromArgb(255, 255, 255);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Pressed.BorderColor = Color.FromArgb(200, 200, 200);
C1RadioButton.Styles.Normal.Glyph.Unchecked.HotPressed.BackColor = Color.FromArgb(231, 231, 231);
C1RadioButton.Styles.Normal.Glyph.Unchecked.HotPressed.ForeColor = Color.FromArgb(255, 255, 255);
C1RadioButton.Styles.Normal.Glyph.Unchecked.HotPressed.BorderColor = Color.FromArgb(200, 200, 200);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Disabled.BackColor = Color.FromArgb(255, 255, 255);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Disabled.ForeColor = Color.FromArgb(255, 255, 255);
C1RadioButton.Styles.Normal.Glyph.Unchecked.Disabled.BorderColor = Color.FromArgb(200, 200, 200);