/syncfusion-winforms:syncfusion-winforms-ratingfrom Syncfusion WinForms Controls
Implement Syncfusion WinForms Rating control for star ratings and user feedback inputs. Use this when building product reviews, satisfaction surveys, or quality rating UIs in WinForms. Covers rating precision (standard/half), built-in shapes (star, circle, heart, diamond), custom image shapes, orientation and Office-themed gradient styling.
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.
The Rating Control provides an intuitive visual rating experience that allows users to select a number of stars (or other shapes) to represent a rating value. This control is ideal for user feedback, product reviews, quality ratings, and any scenario requiring visual rating input.
Use this skill when the user needs to:
RatingControl (Syncfusion.Windows.Forms.Tools.RatingControl) is a versatile rating input control supporting:
Key Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll (and dependencies)
📄 Read: references/getting-started.md
When to read: User needs to install, configure, or create their first Rating control.
Topics covered:
📄 Read: references/shapes-and-customization.md
When to read: User wants built-in shapes (star, heart, circle) or needs custom image-based rating indicators.
Topics covered:
📄 Read: references/precision-and-values.md
When to read: User needs half-star ratings (3.5 stars) or wants to control rating granularity.
Topics covered:
📄 Read: references/styling-and-appearance.md
When to read: User wants Office themes, custom colors, gradient effects, or visual style customization.
Topics covered:
📄 Read: references/orientation-and-tooltips.md
When to read: User needs vertical rating layout or wants tooltips on rating items.
Topics covered:
using Syncfusion.Windows.Forms.Tools;
// Create rating control
RatingControl productRating = new RatingControl();
productRating.Location = new Point(20, 20);
productRating.Size = new Size(150, 30);
// Set initial value (3 out of 5 stars)
productRating.Value = 3;
// Add to form
this.Controls.Add(productRating);
// Enable half-star precision
RatingControl preciseRating = new RatingControl();
preciseRating.Precision = PrecisionMode.Half;
preciseRating.Value = 3.5f; // 3.5 stars
// Use heart shapes instead of stars
RatingControl favoriteRating = new RatingControl();
favoriteRating.Shape = Shapes.Heart;
favoriteRating.Value = 4;
// Apply Office 2016 Colorful theme
RatingControl themedRating = new RatingControl();
themedRating.VisualStyle = RatingControl.Style.Office2016Colorful;
themedRating.Value = 5;
// Display average rating (read-only)
RatingControl avgRating = new RatingControl();
avgRating.Value = 4.5f;
avgRating.Precision = PrecisionMode.Half;
avgRating.Enabled = false; // Read-only
When to use: Displaying aggregated ratings on product listings.
// User can select rating
RatingControl feedbackRating = new RatingControl();
feedbackRating.Value = 0; // No initial selection
feedbackRating.Precision = PrecisionMode.Half;
// Handle rating changes
feedbackRating.RatingChanged += (s, e) => {
float rating = feedbackRating.Value;
MessageBox.Show($"User rated: {rating} stars");
};
When to use: Customer feedback forms, surveys, review submission.
// Vertical orientation for sidebar layouts
RatingControl verticalRating = new RatingControl();
verticalRating.Orientation = Orientationmode.Vertical;
verticalRating.Size = new Size(50, 200);
verticalRating.Value = 3;
When to use: Sidebar designs, narrow column layouts.
// Custom gradient colors (green to yellow)
RatingControl customRating = new RatingControl();
customRating.ApplyGradientColors = true;
customRating.ItemHighlightStartColor = Color.Green;
customRating.ItemHighlightEndColor = Color.YellowGreen;
customRating.ItemSelectionStartColor = Color.Gold;
customRating.ItemSelectionEndColor = Color.Orange;
customRating.Value = 4;
When to use: Branded color schemes, matching application themes.
// Use custom images for rating
RatingControl customImageRating = new RatingControl();
customImageRating.Shape = Shapes.CustomImages;
CustomImageCollection images = new CustomImageCollection();
images.NormalImage = Properties.Resources.rating_normal;
images.HoverImage = Properties.Resources.rating_hover;
images.SelectedImage = Properties.Resources.rating_selected;
customImageRating.Images = images;
customImageRating.Value = 3;
When to use: Unique branding, custom icons, non-standard rating indicators.
| Property | Type | Description | When to Use |
|---|---|---|---|
| Value | float | Current rating value (0 to number of items) | Set/get rating selection |
| Precision | PrecisionMode | Standard or Half precision | Enable half-star ratings |
| Shape | Shapes | Star, Circle, Triangle, Heart, Diamond, Kite, CustomImages | Change rating indicator shape |
| Orientation | Orientationmode | Horizontal or Vertical | Vertical layout for sidebars |
| ShowTooltip | bool | Enable tooltips on rating items | Show rating values on hover |
| Property | Type | Description | When to Use |
|---|---|---|---|
| VisualStyle | RatingControl.Style | Visual style (Office2007/2010/2016, Metro) | Apply Office themes |
| OfficeColorScheme | OfficeColorSchemes | Blue, Silver, Black color scheme | Office theme color variants |
| ApplyGradientColors | bool | Enable gradient color properties | Custom gradient effects |
| ItemHighlightColor | Color | Hover state color | Custom hover appearance |
| ItemSelectionColor | Color | Selected state color | Custom selection appearance |
| Property | Type | Description | When to Use |
|---|---|---|---|
| Images | CustomImageCollection | Custom image collection | Use custom rating images |
| Images.NormalImage | Image | Unselected state image | Custom default appearance |
| Images.HoverImage | Image | Hover state image | Custom hover appearance |
| Images.SelectedImage | Image | Selected state image | Custom selected appearance |
Scenario: E-commerce product listing with average ratings.
Value to display average (e.g., 4.3 stars)Precision = PrecisionMode.Half for accurate displayEnabled = false for read-onlyScenario: Service quality rating in feedback form.
Value = 0 for no initial selectionValueChanged event to capture user inputScenario: Rate multiple aspects (Quality, Service, Value).
Scenario: Heart-based favorites (1-5 hearts).
Shape = Shapes.HeartScenario: Custom images matching brand identity.
Shape = Shapes.CustomImagesScenario: Sidebar with vertical rating display.
Orientation = Orientationmode.VerticalRatingChanged: Raised when the rating value changes (user interaction).
ratingControl1.RatingChanged += (sender, e) => {
float newRating = ratingControl1.Value;
// Process rating change
};
PrecisionMode.Half when displaying aggregated ratings (4.5 stars)Enabled = false for non-interactive rating displaysShowTooltip to show numeric valuesValue = 0 for new ratings, specific value for defaultsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 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.Other plugins' skills for the same job