Siticone Logo
Siticone UI
DOCS
v2025.12.15
Docs CheckBox Advanced

Siticone CheckBox Advanced

The SiticoneCheckBoxAdvanced control goes beyond standard checkboxes with cutting-edge visual styles, integrated animations (like glows and gradients), and extensive theming capabilities. It supports "Switch" toggles, modern "Glow" effects, and various checkmark styles (Tick, Cross, Dot).

Visual Styles

Select from three distinct rendering modes to match your application's aesthetic.

Property Type Description
Style CheckBoxStyleAdvanced
  • Modern: Standard square checkbox with smooth animations.
  • Glow: Adds a customizable outer glow when checked or focused.
  • Switch: Renders as a toggle switch (iOS/Android style).
CheckmarkStyle Enum The symbol drawn when checked: Tick (✓), Cross (✕), or Dot (●).
CheckmarkScale float Scales the size of the checkmark symbol (Default: 1.0).

Layout & Text

Position the text label precisely relative to the check box.

Property Type Description
TextPosition Enum Places the text to the Left, Right, Top, or Bottom of the box.
CheckAreaPadding int Padding between the box border and the internal checkmark.
BoxSize int The width/height of the checkbox square (or height of the switch).

Colors & Effects

Fully customizable color palette for every state.

Property Type Description
BoxColor Color Background color when unchecked.
CheckedBoxColor Color Background color when checked.
HoverColor Color Background color on hover.
GlowColor Color Color of the outer glow (only in Glow style).
UseGradient bool Enables a gradient background for the checked state.
GradientColor1/2 Color Start and end colors for the gradient.

Interaction & Behavior

Property Type Description
Checked bool Gets or sets the checked state.
AllowIndeterminate bool Enables the third "Indeterminate" state (often shown as a dash).
ReadOnly bool Prevents user interaction.

Events

Respond to state changes.

CheckedChanged Event
// Fired when the Checked property changes.
advCheck.CheckedChanged += (s, e) => 
{
                if (advCheck.Checked)
    {
                EnableFeatures();
    }
                else
    {
                DisableFeatures();
    }
};
BeforeCheckStateChanged Event
// Allows cancelling the state change logic.
advCheck.BeforeCheckStateChanged += (s, e) => 
{
                if (!UserHasPermission())
    {
        e.Cancel = true;
                MessageBox.Show("Permission denied.");
    }
};

Designer Support

The control includes a comprehensive Smart Tag menu with over 20 theme presets.

Category Features
Standard Themes Apply presets like Light, Dark, Windows 11, Google Material, Apple Switch.
Creative Themes Apply presets like Cyberpunk (Neon), Synthwave, Nordic, Forest.
Specialty Themes Apply presets like Royal Blue, Sunset, Bubblegum, Luxury Gold.

Usage Examples

Example 1: Switch Toggle

Creating an Apple-style toggle switch.

C# - Switch Setup
private void SetupSwitch()
{
    chkWifi.Style = CheckBoxStyleAdvanced.Switch;
    chkWifi.Text = "Wi-Fi";
    
                // iOS Green
    chkWifi.CheckedBoxColor = Color.FromArgb(52, 199, 89);
    chkWifi.BoxColor = Color.FromArgb(229, 229, 234);
    chkWifi.CheckmarkColor = Color.White;
}

Example 2: Cyberpunk Glow

Creating a futuristic checkbox with a neon glow.

C# - Neon Glow
private void SetupNeonCheck()
{
    chkNeon.Style = CheckBoxStyleAdvanced.Glow;
    chkNeon.UseGradient = true;
    
                // Neon Colors
    chkNeon.GradientColor1 = Color.Magenta;
    chkNeon.GradientColor2 = Color.Cyan;
    chkNeon.GlowColor = Color.FromArgb(100, Color.Magenta);
    
                // Square look
    chkNeon.BorderRadius = 0;
}

Example 3: Multi-Select Logic

Using the indeterminate state for a "Select All" checkbox.

C# - Select All
private void UpdateMasterCheckbox()
{
                int selected = items.Count(i => i.Selected);
    
                if (selected == 0)
        chkAll.CheckState = CheckState.Unchecked;
                else if (selected == items.Count)
        chkAll.CheckState = CheckState.Checked;
                else
        chkAll.CheckState = CheckState.Indeterminate;
}

Example 4: Custom Checkmark Style

Using a "Dot" or "Cross" instead of a tick mark.

C# - Custom Symbol
private void SetupDeleteOption()
{
    chkDelete.Text = "Mark for Deletion";
    
                // Use an 'X' symbol
    chkDelete.CheckmarkStyle = AdvancedCheckmarkStyle.Cross;
    chkDelete.CheckedBoxColor = Color.Crimson;
    chkDelete.CheckmarkScale = 0.8f; // Slightly smaller X
}