# Add ExtendedCheckBox & ExtendedSlider Controls - Advanced Form Controls with Rich Customization#18
Open
vickyqu115 wants to merge 1 commit intoOpenSilver:masterfrom
Open
Conversation
Added new UI components: ExtendedSlider and ExtendedCheckBox, along with their respective XAML pages and code-behind files. Updated `TestRegistry.cs` to include new `TreeItem` entries for navigation. Enhanced `TestApp.csproj` to include the new files. The `ExtendedSlider` introduces a customizable slider control with advanced visual features like animations, hover effects, shadows, and flexible styling options. Dependency properties and event handlers enable dynamic interaction and configuration. The `TestExtendedCheckBox.xaml` page showcases the versatility of the `ExtendedCheckBox` control with modern styles, animations, and real-world examples. Added reusable styles and color palettes for consistent design. The `TestExtendedSlider.xaml` page demonstrates the capabilities of the `ExtendedSlider` control, with a code-behind file for initialization and navigation handling.
Member
|
Thanks a lot for implementing these beautiful and useful controls. Could you please fix an issue that sometimes ExtendedSlider does not synchronize the thumb with track value: _TestExtendedSlider.-.Google.Chrome.2025-07-09.10-43-04.mp4 |
Contributor
|
The thumb is not synchronized with the value of the Slider when the user continues dragging after the animation starts. To fix it, I suggest to track if the thumb is animated, and if we drag during the animation, we cancel the animation and move the position directly to the appropriate position. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add ExtendedCheckBox & ExtendedSlider Controls - Advanced Form Controls with Rich Customization
Overview
Added two new advanced controls to OpenSilver.ControlsKit: ExtendedCheckBox and ExtendedSlider. These enhanced form controls provide comprehensive customization through rich DependencyProperties without requiring ControlTemplate redefinition.

Core Concept
ExtendedCheckBox Features
Key Capabilities
Usage Example
ExtendedSlider Features
Key Capabilities
Usage Example
Real-World Applications
ExtendedCheckBox
ExtendedSlider
Technical Implementation
ExtendedCheckBox Properties (25+)
TextPosition,TextMargin,BoxWidth/HeightCornerRadius,CheckMarkStyle,CheckMarkGeometryBoxBrush,CheckedBoxBrush,CheckMarkBrush, hover variantsHasShadow,AnimationStyle,AnimationDurationExtendedSlider Properties (20+)
TrackWidth/Height,ThumbSize,SliderSizeCornerRadius,TrackBorderBrush/ThicknessTrackBrush,FillBrush,ThumbBrush, border variantsHasShadow,IsAnimatedwith smooth value transitionsTesting & Demos
Both controls include comprehensive demo pages showcasing:
Benefits
For Developers
For Users