public static C1Icon Unchecked
{
get
{
var mainIcon = new C1CompositeIcon();
var borderIcon = new C1PathIcon
{
ViewBox = new Rectangle(0, 0, 20, 20),
Data = "M4 0.5C2.067 0.5 0.5 2.067 0.5 4V16C0.5 17.933 2.067 19.5 4 19.5H16C17.933 19.5 19.5 17.933 19.5 16V4C19.5 2.067 17.933 0.5 16 0.5H4Z",
Key = "BorderIcon"
};
var backRectIcon = new C1PathIcon
{
ViewBox = new Rectangle(0, 0, 20, 20),
Data = "M 4 1 C 2.5 1 1 2.5 1 4 V 16 C 1 17.5 2.5 19 4 19 H 16 C 17.5 19 19 17.5 19 16 V 4 C 19 2.5 17.5 1 16 1 H 4 Z",
Key = "BackIcon"
};
mainIcon.Icons.Add(borderIcon);
mainIcon.Icons.Add(backRectIcon);
mainIcon.Size = new Size(20, 20);
return mainIcon;
}
}
c1CheckBox.UncheckedIcon = Unchecked;
c1CheckBox.Styles.Normal.Glyph.Unchecked.Default.BackColor = Color.FromArgb(249, 249, 249);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Default.ForeColor = Color.FromArgb(255, 255, 255);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Default.BorderColor = Color.FromArgb(100, 100, 100);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Hot.BackColor = Color.FromArgb(240, 240, 240);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Hot.ForeColor = Color.FromArgb(255, 255, 255);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Hot.BorderColor = Color.FromArgb(147, 147, 147);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Pressed.BackColor = Color.FromArgb(231, 231, 231);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Pressed.ForeColor = Color.FromArgb(255, 255, 255);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Pressed.BorderColor = Color.FromArgb(200, 200, 200);
c1CheckBox.Styles.Normal.Glyph.Unchecked.HotPressed.BackColor = Color.FromArgb(231, 231, 231);
c1CheckBox.Styles.Normal.Glyph.Unchecked.HotPressed.ForeColor = Color.FromArgb(255, 255, 255);
c1CheckBox.Styles.Normal.Glyph.Unchecked.HotPressed.BorderColor = Color.FromArgb(200, 200, 200);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Disabled.BackColor = Color.FromArgb(255, 255, 255);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Disabled.ForeColor = Color.FromArgb(255, 255, 255);
c1CheckBox.Styles.Normal.Glyph.Unchecked.Disabled.BorderColor = Color.FromArgb(200, 200, 200);