๐น Kt-Switch
Overview
Key Properties
Property
Type
Default
Description
State Properties (KtSwitchState)
Property
Type
Description
Events
Event
Arguments
Description
Basic Usage
Simple Switch
Switch with Label
Styling Examples
Custom Colors
Using State Properties
iOS-Style Switch
Material Design Style
Minimal Flat Style
Common Patterns
Settings Panel
Feature Toggles
Privacy Settings
Form with Multiple Switches
Advanced Features
Custom Animation Speed
Custom Thumb Margin
Programmatic Control
State-Based Styling
Layout Patterns
TableLayoutPanel Integration
GroupBox with Switches
Validation and State Management
Conditional Logic
Design Tips
Accessibility Features
Performance Notes
Size Recommendations
Use Case
Recommended Size
Thumb Margin
Migration Notes
Best Practices
Last updated