/syncfusion-winforms:syncfusion-winforms-range-sliderfrom Syncfusion WinForms Controls
Complete guide for implementing Syncfusion RangeSlider control in Windows Forms for dual-thumb value selection. Use when creating range selection interfaces with SliderMin/SliderMax configuration, ChannelColor customization, or RangeColor styling. Covers range bound configuration, slider appearance customization, event handling, and building range selection UI components.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Complete guide for implementing the RangeSlider control in Windows Forms applications. The RangeSlider is a flexible UI component that enables value-range selection with dual thumb controls, allowing users to select from a range of values by moving thumbs along a track.
Use this skill when you need to:
The RangeSlider control features:
📄 Read: references/getting-started.md
📄 Read: references/value-configuration.md
📄 Read: references/interactive-features.md
📄 Read: references/layout-orientation.md
Here's a minimal example to get started with RangeSlider:
using Syncfusion.Windows.Forms.Tools;
using System.Windows.Forms;
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
// Create RangeSlider instance
RangeSlider rangeSlider = new RangeSlider();
// Configure range bounds
rangeSlider.Minimum = 0;
rangeSlider.Maximum = 100;
// Set initial thumb positions
rangeSlider.SliderMin = 20;
rangeSlider.SliderMax = 80;
// Show value labels
rangeSlider.ShowLabels = true;
// Display ticks
rangeSlider.ShowTicks = true;
rangeSlider.TickFrequency = 10;
// Add to form
this.Controls.Add(rangeSlider);
}
}
Create a price range selector with custom formatting:
rangeSlider.Minimum = 0;
rangeSlider.Maximum = 1000;
rangeSlider.SliderMin = 100;
rangeSlider.SliderMax = 900;
rangeSlider.ValueChanged += (s, e) =>
{
decimal minPrice = rangeSlider.SliderMin;
decimal maxPrice = rangeSlider.SliderMax;
// Update product list based on price range
};
Customize colors for visual feedback:
// Set distinct colors for visual hierarchy
rangeSlider.ChannelColor = Color.LightGray; // Background track
rangeSlider.RangeColor = Color.DarkGreen; // Selected range
rangeSlider.ThumbColor = Color.Green; // Thumb controls
// Adjust sizing
rangeSlider.ChannelHeight = 6;
rangeSlider.SliderSize = new Size(12, 18);
Create vertical range sliders for specific layouts:
rangeSlider.Orientation = Orientation.Vertical;
rangeSlider.Height = 300; // Sufficient height for vertical orientation
rangeSlider.Width = 50; // Narrower for vertical
Handle user interactions with events:
rangeSlider.Scroll += (s, e) =>
{
// Called while user is dragging
UpdatePreview();
};
rangeSlider.ValueChanged += (s, e) =>
{
// Called after value change completes
UpdateData();
};
| Property | Type | Purpose |
|---|---|---|
Minimum | int | Defines the lower bound of range |
Maximum | int | Defines the upper bound of range |
SliderMin | int | Position of left/top thumb (current minimum) |
SliderMax | int | Position of right/bottom thumb (current maximum) |
Range | range structure | Gets current selected range |
ChannelColor | Color | Background track color |
RangeColor | Color | Highlighted selected range color |
ThumbColor | Color | Thumb control color |
ChannelHeight | int | Height of track in pixels |
SliderSize | Size | Dimensions of thumb controls |
ShowTicks | bool | Display tick marks |
TickFrequency | int | Interval between ticks |
Orientation | Orientation | Horizontal or Vertical layout |
ShowLabels | bool | Display value labels |
RightToLeft | RightToLeft | RTL layout support |
Create controls that adapt to user needs:
public void ConfigureRangeSlider(int dataMin, int dataMax, int defaultMin, int defaultMax)
{
rangeSlider.Minimum = dataMin;
rangeSlider.Maximum = dataMax;
rangeSlider.SliderMin = defaultMin;
rangeSlider.SliderMax = defaultMax;
// Calculate appropriate tick frequency
int range = dataMax - dataMin;
rangeSlider.TickFrequency = range > 1000 ? 100 : range > 100 ? 10 : 1;
}
Ensure valid range selections:
rangeSlider.ValueChanged += (s, e) =>
{
if (rangeSlider.SliderMin > rangeSlider.SliderMax)
{
// Swap if needed
int temp = rangeSlider.SliderMin;
rangeSlider.SliderMin = rangeSlider.SliderMax;
rangeSlider.SliderMax = temp;
}
};
Enable users to filter products by selecting a price range, commonly used in e-commerce applications.
Create date range pickers by mapping slider values to date ranges for filtering historical data.
Allow configuration of minimum and maximum parameters in scientific or industrial applications.
Use range sliders for audio applications to set volume range or frequency bands.
Filter large datasets by selecting value ranges for visualization and analysis.
Next Steps: Read the appropriate reference guide from the Navigation Guide above based on your specific implementation needs.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms