Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-radial-slider同步融合 winforms 径向滑块

Agent Skill

syncfusion-winforms-radial-slider 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

734

周安装

30

GitHub Stars

1

下载量

235
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-winforms-radial-slider(同步融合 winforms 径向滑块)
来源仓库:https://github.com/syncfusion/winforms-ui-components-skills
仓库路径:skills/syncfusion-winforms-radial-slider
安装命令:
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-radial-slider
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-radial-slider

简介

Syncfusion WinForms 径向滑块控件,提供圆形范围内的角度或半径值选择交互。

  • 适用于音量调节、颜色选择、参数微调等需要环形操作界面的场景。
  • 支持触摸友好设计、刻度标记、事件回调及自定义外观样式。
  • 需验证目标环境是否支持 GDI+ 高级绘图功能,避免在某些精简系统上出现兼容性问题。
  • 注意滑块精度与步长设置,确保用户体验符合预期且不会误触敏感操作。

SKILL.md

Implementing Radial Sliders (RadialSlider)

A circular slider control for Windows Forms that provides visual numeric value selection through a rotating needle around a radial dial with customizable divisions and themes.

When to Use This Skill

Use this skill when you need to:

  • Circular Value Selection: Implement dial-based numeric input (like volume knobs, temperature dials)
  • Rotating Controls: Create rotary controls with visual feedback
  • Value Pickers: Build circular value selectors with minimum/maximum ranges
  • Division Markers: Display value divisions around a circular dial
  • Visual Indicators: Show numeric values in a radial/circular format
  • Interactive Dials: Implement knob-style controls (gauges, sliders, rotary switches)
  • Themed Controls: Apply Office 2016 visual themes to circular sliders
  • Custom Value Ranges: Set specific min/max ranges with visual divisions

Component Overview

The RadialSlider is an advanced circular slider control that provides:

  • Circular/radial value selection with rotating needle
  • Customizable minimum and maximum value ranges
  • Division markers around the dial
  • Two slider styles (Default with hollow circles, Frame with background)
  • Five Office 2016 visual themes plus default style
  • Customizable colors (background, circles, needle, foreground)
  • Two needle types (Straight Line, Dotted Line)
  • ValueChanged event for real-time value tracking
  • Custom text formatting for division labels

Key Capabilities:

  • MinimumValue and MaximumValue properties for range configuration
  • Value property for getting/setting current selection
  • SliderDivision property for configuring division markers
  • SliderStyle enum (Default, Frame)
  • Style property with 6 visual themes
  • NeedleType enum (StraightLine, DottedLine)
  • Color customization (BackgroundColor, InnerCircleColor, OuterCircleColor, SliderNeedleColor)
  • ValueChanged event for tracking value changes
  • DrawText event for custom text formatting

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: Setting up RadialSlider for the first time, adding to forms, basic configuration

Topics covered:

  • Assembly requirements and NuGet installation
  • Designer-based setup (drag-and-drop from toolbox)
  • Programmatic creation and configuration
  • Basic size and property configuration
  • Slider styles (Default vs Frame)
  • ShowOuterCircle property
  • Troubleshooting installation issues

Value Configuration

📄 Read: references/value-configuration.md

When to read: Configuring value ranges, divisions, handling value changes, custom text formatting

Topics covered:

  • MinimumValue and MaximumValue properties
  • Value property (get/set current value)
  • SliderDivision property for division markers
  • ValueChanged event handling
  • DrawText event for custom text formatting
  • TextType enum (Interval, Pointer, Value)
  • DrawTextEventArgs properties (Text, ForeColor, Font)
  • Practical examples for value tracking

Appearance Customization

📄 Read: references/appearance-customization.md

When to read: Applying visual themes, customizing colors, changing needle appearance

Topics covered:

  • BackgroundColor property
  • InnerCircleColor and OuterCircleColor properties
  • SliderNeedleColor property
  • ForeColor property
  • NeedleType enum (StraightLine, DottedLine)
  • Visual styles (6 themes: Default, Office2016Colorful/White/DarkGray/Black)
  • Complete theming examples
  • Color combination best practices

Quick Start Example

Create a basic RadialSlider for volume control:

C#:

using System;
using System.Windows.Forms;
using Syncfusion.Windows.Forms.Tools;

public partial class VolumeControl : Form
{
    private RadialSlider volumeSlider;
    private Label lblVolume;

    public VolumeControl()
    {
        InitializeComponent();
        SetupVolumeControl();
    }

    private void SetupVolumeControl()
    {
        // Create radial slider
        volumeSlider = new RadialSlider
        {
            Location = new System.Drawing.Point(50, 50),
            Size = new System.Drawing.Size(250, 250),
            MinimumValue = 0,
            MaximumValue = 100,
            Value = 50,
            SliderDivision = 10,
            SliderStyle = SliderStyles.Frame
        };

        // Create label for volume display
        lblVolume = new Label
        {
            Location = new System.Drawing.Point(50, 310),
            Size = new System.Drawing.Size(250, 30),
            Text = "Volume: 50",
            TextAlign = System.Drawing.ContentAlignment.MiddleCenter
        };

        // Handle value changes
        volumeSlider.ValueChanged += VolumeSlider_ValueChanged;

        // Add to form
        this.Controls.Add(volumeSlider);
        this.Controls.Add(lblVolume);
    }

    private void VolumeSlider_ValueChanged(object sender, RadialSlider.ValueChangedEventArgs e)
    {
        lblVolume.Text = $"Volume: {volumeSlider.Value}";
    }
}

Common Patterns

Pattern 1: Temperature Control with Custom Text

C#:

private RadialSlider tempSlider;

private void SetupTemperatureControl()
{
    tempSlider = new RadialSlider
    {
        MinimumValue = 0,
        MaximumValue = 100,
        Value = 25,
        SliderDivision = 10,
        Style = RadialSliderStyle.Office2016Colorful
    };

    // Custom text formatting with degree symbol
    tempSlider.DrawText += TempSlider_DrawText;

    this.Controls.Add(tempSlider);
}

private void TempSlider_DrawText(object sender, RadialSlider.DrawTextEventArgs e)
{
    // Add degree Celsius symbol
    e.Text += "°C";

    // Color code by temperature range
    int temp = int.Parse(e.Text.Replace("°C", ""));

    if (temp <= 33)
    {
        e.ForeColor = System.Drawing.Color.Blue; // Cold
    }
    else if (temp > 33 && temp <= 66)
    {
       e.ForeColor = System.Drawing.Color.Orange; // Warm
    }
    else
    {
        e.ForeColor = System.Drawing.Color.Red; // Hot
    }
}

Key Properties

PropertyTypeDefaultPurpose
MinimumValueint0Starting value of slider range
MaximumValueint10Ending value of slider range
Valueint0Current selected value
SliderDivisionint10Number of division markers
SliderStyleSliderStylesDefaultVisual style (Default, Frame)
StyleRadialSliderStyleDefaultTheme (Default, Office2016*)
BackgroundColorColorSystem defaultBackground color
InnerCircleColorColorSystem defaultInner circle color
OuterCircleColorColorSystem defaultOuter circle color
SliderNeedleColorColorSystem defaultNeedle color
ForeColorColorSystem defaultText color
NeedleTypeSliderNeedleTypeStraightLineNeedle appearance
ShowOuterCirclebooltrueShow/hide outer circle

Common Use Cases

Volume/Audio Controls

Use RadialSlider for volume knobs, audio level controls, or media player controls where circular dials provide intuitive control.

Temperature Settings

Implement temperature selectors for thermostats, climate controls, or weather applications with color-coded ranges.

Speed Controls

Create speed selectors for motors, fans, or animations with visual feedback through division markers.

Brightness/Opacity Adjustments

Build brightness controls for displays, image editors, or lighting controls with percentage-based ranges.

Timer/Duration Selection

Implement countdown timers or duration selectors with minute/second divisions around a circular dial.

Gauge Displays

Create interactive gauges that users can adjust (fuel gauges, pressure gauges, progress indicators).

Settings Panels

Use for numeric settings that benefit from visual representation (zoom levels, quality settings, intensity controls).

Data Visualization

Implement interactive data selectors where circular presentation is preferred over linear sliders.

Additional Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.62%
按下载量换算79

Claude

27.65%
按下载量换算65

Cursor

20.6%
按下载量换算48

Gemini CLI

8.58%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills