Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-radio-button同步融合 winforms 单选按钮

Agent Skill

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

总安装

643

周安装

26

GitHub Stars

公开资料未说明

下载量

202
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

高级单选按钮控件,提供 Office 主题与现代 Metro 风格外观。

  • 适用于设置面板、选项配置或多选一业务逻辑实现场景。
  • 支持文本阴影、渐变填充与图像叠加等丰富视觉效果。
  • 行为模式可灵活调整以适应不同交互需求。syncfusion-winforms-radio-button 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 建议配合标签控件使用以提升无障碍访问体验。

SKILL.md

Implementing RadioButtonAdv in Syncfusion WinForms

This skill guides you in implementing Syncfusion WinForms RadioButtonAdv control—an enhanced radio button with advanced styling options including Office themes, gradient backgrounds, text shadow effects, custom images, and professional appearance features.

When to Use This Skill

Use this skill when the user needs to:

  • Implement enhanced radio buttons with modern styling beyond standard RadioButton
  • Apply Office themes (Office2007, Office2016 Colorful/White/Black/DarkGray)
  • Use Metro-style radio buttons for modern UI design
  • Add text shadow effects with custom colors and offsets
  • Create gradient backgrounds for radio buttons
  • Display custom images for different radio button states
  • Apply 2D or 3D border styles to radio buttons
  • Configure text and button alignment for custom layouts
  • Associate integer or string values with radio button states
  • Build professional forms with consistent Office-style theming
  • Replace standard RadioButton with visually enhanced alternatives

RadioButtonAdv is ideal when visual appearance and theming are important for radio button controls.

Component Overview

RadioButtonAdv is an advanced radio button control that extends the standard WinForms RadioButton with rich styling capabilities. It provides:

  • Theme Support: Office2007, Office2016, Metro, and Default themes
  • Text Effects: Shadow text with color and offset customization
  • Backgrounds: Gradient backgrounds with custom colors
  • Borders: 2D and 3D border style options
  • Images: Custom images for each check state
  • Alignment: Flexible text and button positioning
  • Value Association: Integer/string values per state
  • Behavior Options: Auto-height, focus rectangle, click events

Key Difference from Standard RadioButton: RadioButtonAdv adds visual styling and theming capabilities while maintaining standard radio button functionality.

Documentation and Navigation Guide

Getting Started and Basic Setup

📄 Read: references/getting-started.md

Read this reference when users need:

  • Assembly dependencies and NuGet package installation
  • Creating RadioButtonAdv via designer or code
  • Basic properties (Text, Font, ForeColor, BackColor)
  • Adding RadioButtonAdv to forms
  • Understanding control hierarchy
  • Complete minimal working example

Themes and Visual Styles

📄 Read: references/themes-and-styles.md

Read this reference when users need:

  • Enabling themes with ThemesEnabled property
  • Applying Style property (Default, Office2007, Metro, Office2016 variants)
  • Office2007ColorScheme (Managed, Blue, Silver, Black)
  • Custom managed colors for Office2007 theme
  • Complete themed examples
  • Professional Office-style appearance

Text Settings and Effects

📄 Read: references/text-settings.md

Read this reference when users need:

  • TextShadow property for shadow effects
  • ShadowColor customization
  • ShadowOffset positioning
  • WrapText for long text handling
  • Text effect examples
  • Text styling best practices

Appearance Customization

📄 Read: references/appearance-customization.md

Read this reference when users need:

  • Gradient backgrounds with custom colors
  • Border styles (2D and 3D options)
  • Alignment settings for text and button
  • Custom images for different states
  • Complete appearance customization
  • Advanced styling patterns

Behavior Settings

📄 Read: references/behavior-settings.md

Read this reference when users need:

  • AutoHeight for automatic height calculation
  • DrawFocusRectangle visibility control
  • RaiseEventOnClick event behavior
  • RadioButtonAdv Settings (integer/string value association)
  • Behavior configuration options

Events

📄 Read: references/events.md

Read this reference when users need:

  • Available RadioButtonAdv events
  • Click event handling
  • CheckedChanged event
  • Event best practices
  • Common event patterns

Quick Start Example

Here's a minimal example creating themed RadioButtonAdv controls:

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

public class RadioButtonExample : Form
{
    private RadioButtonAdv radioButtonAdv1;
    private RadioButtonAdv radioButtonAdv2;
    private RadioButtonAdv radioButtonAdv3;

    public RadioButtonExample()
    {
        // Create first radio button
        radioButtonAdv1 = new RadioButtonAdv();
        radioButtonAdv1.Text = "Option 1";
        radioButtonAdv1.Location = new Point(20, 20);
        radioButtonAdv1.Size = new Size(120, 21);
        radioButtonAdv1.Style = RadioButtonAdvStyle.Office2016Colorful;
        radioButtonAdv1.Checked = true;

        // Create second radio button
        radioButtonAdv2 = new RadioButtonAdv();
        radioButtonAdv2.Text = "Option 2";
        radioButtonAdv2.Location = new Point(20, 50);
        radioButtonAdv2.Size = new Size(120, 21);
        radioButtonAdv2.Style = RadioButtonAdvStyle.Office2016Colorful;

        // Create third radio button
        radioButtonAdv3 = new RadioButtonAdv();
        radioButtonAdv3.Text = "Option 3";
        radioButtonAdv3.Location = new Point(20, 80);
        radioButtonAdv3.Size = new Size(120, 21);
        radioButtonAdv3.Style = RadioButtonAdvStyle.Office2016Colorful;

        // Add to form
        this.Controls.Add(radioButtonAdv1);
        this.Controls.Add(radioButtonAdv2);
        this.Controls.Add(radioButtonAdv3);

        this.Text = "RadioButtonAdv Example";
        this.Size = new Size(300, 200);
    }
}

Result: Three Office2016-themed radio buttons with modern appearance.

Common Patterns

Themed Radio Button Group

Pattern: Create a group of radio buttons with consistent Office2016 theming.

// Create GroupBox for radio buttons
GroupBox groupBox = new GroupBox();
groupBox.Text = "Select Option";
groupBox.Location = new Point(10, 10);
groupBox.Size = new Size(200, 120);

// Create themed radio buttons
string[] options = { "Small", "Medium", "Large" };
int yPos = 20;

foreach (string option in options)
{
    RadioButtonAdv radio = new RadioButtonAdv();
    radio.Text = option;
    radio.Location = new Point(10, yPos);
    radio.Style = RadioButtonAdvStyle.Office2016Colorful;
    radio.ThemesEnabled = true;
    groupBox.Controls.Add(radio);
    yPos += 30;
}

this.Controls.Add(groupBox);

When: User needs multiple related options with consistent theming.

Radio Button with Text Shadow

Pattern: Add visual emphasis with text shadow effects.

RadioButtonAdv shadowRadio = new RadioButtonAdv();
shadowRadio.Text = "Important Option";
shadowRadio.TextShadow = true;
shadowRadio.ShadowColor = Color.Gold;
shadowRadio.ShadowOffset = new Point(2, 2);
shadowRadio.Font = new Font("Segoe UI", 10, FontStyle.Bold);
shadowRadio.Location = new Point(20, 20);

When: User wants to emphasize specific radio button options.

Custom Gradient Background

Pattern: Create radio buttons with gradient backgrounds for modern appearance.

RadioButtonAdv gradientRadio = new RadioButtonAdv();
gradientRadio.Text = "Premium Option";
// Gradient properties set via designer or property grid
// GradientStart, GradientEnd, GradientStyle
gradientRadio.Location = new Point(20, 20);

When: User needs custom branded or styled radio buttons.

Key Properties

Theme and Style Properties

PropertyTypeDescriptionWhen to Use
StyleRadioButtonAdvStyleOffice2007, Metro, Office2016 variantsApply modern themes
ThemesEnabledboolEnable/disable themingControl theme application
Office2007ColorSchemeOffice2007ThemeBlue, Silver, Black, ManagedOffice2007 color variants

Text Properties

PropertyTypeDescriptionWhen to Use
TextShadowboolEnable text shadow effectAdd visual depth to text
ShadowColorColorShadow colorCustomize shadow appearance
ShadowOffsetPointShadow position offsetControl shadow placement
WrapTextboolEnable text wrappingHandle long text labels

Appearance Properties

PropertyTypeDescriptionWhen to Use
DrawFocusRectangleboolShow/hide focus rectangleControl focus indicator
AutoHeightboolAuto-calculate heightAdjust to content size
BackColorColorBackground colorCustom backgrounds
ForeColorColorText colorCustom text colors

Behavior Properties

PropertyTypeDescriptionWhen to Use
RaiseEventOnClickboolFire OnClick eventControl click behavior
CheckedboolRadio button stateSet default selection

Common Use Cases

Settings Dialog

Create a settings form with themed radio buttons:

  • Group related options (Theme, Size, Layout)
  • Apply consistent Office2016 theming
  • Professional appearance matching application style

Wizard Step Selection

Radio buttons for wizard navigation:

  • Metro or Office2016 style for modern look
  • Text shadow for emphasis on current step
  • Clear visual hierarchy

Survey/Questionnaire Forms

Multiple-choice questions with styled radio buttons:

  • Consistent theming across all questions
  • Text wrapping for long option labels
  • Professional survey appearance

Preference Configuration

User preference selection:

  • Gradient backgrounds for premium options
  • Custom images per state for visual indicators
  • Value association for easy preference storage

Implementation Checklist

When implementing RadioButtonAdv, ensure:

  • Required assemblies referenced (Syncfusion.Tools.Windows.dll, etc.)
  • Namespace included (Syncfusion.Windows.Forms.Tools)
  • RadioButtonAdv instances created and configured
  • Style/Theme applied for consistent appearance
  • Text properties set (Text, Font, optional shadow)
  • Location and Size specified for layout
  • Event handlers added for CheckedChanged or Click
  • Radio button groups properly configured (only one selected per group)
  • Default selection set with Checked property
  • Testing with different themes and styles

Troubleshooting Quick Reference

Issue: Theme not applying

  • Set ThemesEnabled = true
  • Ensure Style property is set to desired theme
  • Check if custom BackColor overrides theme

Issue: Text shadow not visible

  • Set TextShadow = true
  • Choose contrasting ShadowColor
  • Adjust ShadowOffset for visibility

Issue: Radio buttons not mutually exclusive

  • Ensure radio buttons are in same container (Form, Panel, GroupBox)
  • Only radio buttons in same parent container are grouped

Issue: Focus rectangle always visible

  • Set DrawFocusRectangle = false to hide
  • Check if form-level setting overrides control

Issue: Height not adjusting to text

  • Set AutoHeight = true
  • Ensure WrapText is configured if text is long

Summary

RadioButtonAdv provides enhanced radio button functionality with:

  • Professional Themes: Office2007, Office2016, Metro styles
  • Text Effects: Shadow with custom colors and offsets
  • Visual Customization: Gradients, borders, images
  • Flexible Styling: Alignment, appearance, and behavior options

Use RadioButtonAdv when visual appearance and theming are important for creating professional, modern WinForms applications.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.85%
按下载量换算70

Claude

28.61%
按下载量换算58

Cursor

19.91%
按下载量换算40

Gemini CLI

9.78%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills