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

syncfusion-winforms-carousel同步融合 winforms 轮播

Agent Skill

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

总安装

717

周安装

29

GitHub Stars

公开资料未说明

下载量

225
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中整理仓库相关事项。
  • 通过 GitHub 仓库安装,需结合原始 README 确认功能细节。
  • 安装前建议确认权限范围,避免触发不必要的网络或文件操作。
  • 适用于团队协作与代码变更管理。

SKILL.md

Syncfusion WinForms Carousel Control

The Carousel control is a circular conveyor that displays and rotates objects in a 3D interface. It provides interactive navigation for images, custom controls, and various carousel path options for creating engaging visual displays.

When to Use This Skill

Use the Carousel control when you need to:

  • Create interactive 3D image galleries or product showcases
  • Display rotating panels with custom controls
  • Implement circular navigation for items or images
  • Build image slide shows with carousel effects
  • Create product viewers with multiple angle displays
  • Implement touch-enabled rotating interfaces
  • Design orbital or linear item arrangements
  • Build visual dashboards with rotating components
  • Create engaging UI presentations with 3D effects

Installation

NuGet Installation

Install-Package Syncfusion.Tools.Windows

Assembly References

Add references to:

  • Syncfusion.Grid.Base
  • Syncfusion.Grid.Windows
  • Syncfusion.Shared.Base
  • Syncfusion.Shared.Windows
  • Syncfusion.Tools.Base
  • Syncfusion.Tools.Windows

Quick Start

Basic Carousel with Custom Controls

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

namespace CarouselDemo
{
    public partial class Form1 : Form
    {
        private Carousel carousel1;

        public Form1()
        {
            InitializeComponent();

            // Create Carousel
            carousel1 = new Carousel();
            carousel1.Size = new System.Drawing.Size(600, 400);
            carousel1.Location = new System.Drawing.Point(50, 50);

            // Create custom controls (e.g., buttons)
            for (int i = 1; i <= 6; i++)
            {
                ButtonAdv button = new ButtonAdv();
                button.Text = "Item " + i;
                button.Size = new System.Drawing.Size(100, 80);
                button.BackColor = System.Drawing.Color.FromArgb(22, 165, 220);
                button.ForeColor = System.Drawing.Color.White;

                // Add to both Controls and Items collections
                carousel1.Controls.Add(button);
                carousel1.Items.Add(button);
            }

            // Add to form
            this.Controls.Add(carousel1);
        }
    }
}

Basic Carousel with Images

using Syncfusion.Windows.Forms.Tools;

// Enable image slides
carousel1.ImageSlides = true;

// Create and add images
for (int i = 1; i <= 6; i++)
{
    CarouselImage carouselImage = new CarouselImage();
    carouselImage.ItemImage = Image.FromFile($"Images/image{i}.png");

    carousel1.ImageListCollection.Add(carouselImage);
}

Core Concepts

Carousel Paths

The control supports multiple path arrangements: Default (elliptical), Orbital, Oval, and Linear. Each path provides different visual layouts for items.

Image Slides Mode

Enable ImageSlides = true to work specifically with images. Images can be added via ImageListCollection, ImageList property, or FilePath property.

Custom Controls

Any WinForms control can be added to the carousel. Controls must be added to both Controls and Items collections.

Perspective and Speed

Control the visual depth with Perspective property and rotation speed with TransitionSpeed property.

Touch Interactions

The carousel responds to touch gestures: pan/flick for rotation, pinch/stretch for perspective adjustments.

Navigation Guide

🚀 Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and dependencies
  • Adding Carousel via Designer
  • Adding Carousel via code
  • Adding custom controls to carousel
  • Adding images to carousel
  • Initial setup and configuration

🛤️ Carousel Paths

📄 Read: references/carousel-paths.md

  • Default (elliptical) path
  • Orbital path layout
  • Oval path layout
  • Linear path arrangement
  • Choosing the right path for your scenario
  • Path property configuration

🖼️ Image Slides

📄 Read: references/image-slides.md

  • Enabling ImageSlides mode
  • Adding images via ImageListCollection
  • Adding images via ImageList property
  • Adding images via FilePath property
  • CarouselImage class usage
  • Image management best practices

🎨 Visual Configuration

📄 Read: references/visual-configuration.md

  • Perspective property (zoom control)
  • TransitionSpeed property (rotation speed)
  • ShowImageShadow property
  • ShowImagePreview property
  • ImageHighlightColor property
  • ImageShadeColor property
  • Combining visual effects

🔄 Rotation Behavior

📄 Read: references/rotation-behavior.md

  • RotateAlways property for continuous rotation
  • Auto-play configuration
  • Controlling rotation programmatically
  • Stopping and starting rotation

👆 Touch Interactions

📄 Read: references/touch-interactions.md

  • Touch support overview
  • Pan and flick gestures for rotation
  • Pinch and stretch for perspective control
  • Touch vs mouse interactions

Common Patterns

Pattern 1: Product Image Gallery

// Create image-based carousel for product showcase
Carousel productCarousel = new Carousel();
productCarousel.ImageSlides = true;
productCarousel.CarouselPath = CarouselPath.Default;
productCarousel.Perspective = 4.5f;
productCarousel.TransitionSpeed = 2.0f;
productCarousel.ShowImagePreview = true;
productCarousel.ShowImageShadow = true;

// Add product images
foreach (string imagePath in Directory.GetFiles("Products", "*.jpg"))
{
    CarouselImage img = new CarouselImage();
    img.ItemImage = Image.FromFile(imagePath);
    productCarousel.ImageListCollection.Add(img);
}

this.Controls.Add(productCarousel);

Pattern 2: Auto-Rotating Dashboard Panels

// Create auto-rotating carousel with custom controls
Carousel dashboardCarousel = new Carousel();
dashboardCarousel.CarouselPath = CarouselPath.Orbital;
dashboardCarousel.RotateAlways = true;
dashboardCarousel.TransitionSpeed = 1.5f;
dashboardCarousel.Perspective = 3.0f;

// Add dashboard panels
Panel salesPanel = CreateDashboardPanel("Sales", salesData);
Panel inventoryPanel = CreateDashboardPanel("Inventory", inventoryData);
Panel reportsPanel = CreateDashboardPanel("Reports", reportData);

dashboardCarousel.Controls.Add(salesPanel);
dashboardCarousel.Items.Add(salesPanel);
dashboardCarousel.Controls.Add(inventoryPanel);
dashboardCarousel.Items.Add(inventoryPanel);
dashboardCarousel.Controls.Add(reportsPanel);
dashboardCarousel.Items.Add(reportsPanel);

this.Controls.Add(dashboardCarousel);

Pattern 3: Linear Navigation Strip

// Create linear carousel for horizontal navigation
Carousel navigationCarousel = new Carousel();
navigationCarousel.CarouselPath = CarouselPath.Linear;
navigationCarousel.TransitionSpeed = 3.0f;
navigationCarousel.Size = new Size(800, 150);
navigationCarousel.Dock = DockStyle.Top;

// Add navigation buttons
string[] sections = { "Home", "Products", "Services", "About", "Contact" };
foreach (string section in sections)
{
    ButtonAdv navButton = new ButtonAdv();
    navButton.Text = section;
    navButton.Size = new Size(120, 100);
    navButton.ButtonStyle = ButtonAppearance.Metro;

    navigationCarousel.Controls.Add(navButton);
    navigationCarousel.Items.Add(navButton);
}

this.Controls.Add(navigationCarousel);

Pattern 4: Touch-Enabled Photo Viewer

// Create touch-friendly image carousel
Carousel photoViewer = new Carousel();
photoViewer.ImageSlides = true;
photoViewer.CarouselPath = CarouselPath.Oval;
photoViewer.Perspective = 5.0f;
photoViewer.TransitionSpeed = 2.5f;
photoViewer.ShowImagePreview = true;
photoViewer.ImageHighlightColor = Color.Gold;
photoViewer.Dock = DockStyle.Fill;

// Load photos from folder
photoViewer.FilePath = Application.StartupPath + "\\Photos";

this.Controls.Add(photoViewer);
// Touch gestures (pan, flick, pinch, stretch) work automatically

Pattern 5: Themed Carousel with Custom Colors

// Create visually customized carousel
Carousel themedCarousel = new Carousel();
themedCarousel.ImageSlides = true;
themedCarousel.CarouselPath = CarouselPath.Default;
themedCarousel.BackColor = Color.FromArgb(30, 30, 30);
themedCarousel.Perspective = 4.0f;
themedCarousel.TransitionSpeed = 2.0f;

// Apply custom visual effects
themedCarousel.ShowImageShadow = true;
themedCarousel.ShowImagePreview = true;
themedCarousel.ImageHighlightColor = Color.FromArgb(255, 215, 0); // Gold
themedCarousel.ImageShadeColor = Color.FromArgb(100, 100, 100);   // Gray

// Add images
foreach (var image in imageCollection)
{
    CarouselImage carouselImg = new CarouselImage();
    carouselImg.ItemImage = image;
    themedCarousel.ImageListCollection.Add(carouselImg);
}

this.Controls.Add(themedCarousel);

Key Properties Reference

PropertyTypeDefaultDescription
CarouselPathCarouselPathDefaultPath layout: Default, Orbital, Oval, Linear
ImageSlidesboolfalseEnable image-specific mode
ItemsCarouselItemCollection-Collection of items to display
ImageListCollectionCarouselImageCollection-Collection of CarouselImage objects
FilePathstring""Folder path to load images from
Perspectivefloat0Zoom level of elliptical view
TransitionSpeedfloat0Rotation speed multiplier
RotateAlwaysboolfalseEnable continuous auto-rotation
ShowImageShadowboolfalseDisplay shadows for images
ShowImagePreviewboolfalseShow preview of selected image at center
ImageHighlightColorColor-Color for highlighting selected image
ImageShadeColorColor-Color for shading background images

Carousel Path Options

PathDescriptionUse Case
DefaultNormal elliptical arrangementGeneral carousels, balanced layouts
OrbitalOrbital curve arrangementSpace-themed displays, scientific UIs
OvalOval structure arrangementWide displays, horizontal emphasis
LinearHorizontal linear arrangementNavigation strips, horizontal galleries

Best Practices

  1. Choose Appropriate Path: Select carousel path based on layout needs (Default for general use, Linear for horizontal navigation)
  2. Add to Both Collections: Custom controls must be added to both Controls and Items collections
  3. Enable ImageSlides for Images: Set ImageSlides = true when working exclusively with images
  4. Optimize Image Count: Keep image count reasonable (6-12 items) for smooth performance
  5. Set Appropriate Speed: Use TransitionSpeed 1.5-3.0 for comfortable viewing; higher values for quick browsing
  6. Use Perspective Wisely: Perspective values 3.0-5.0 work well for most scenarios
  7. Image Sizing: Ensure images are reasonably sized (compress large images) for performance
  8. Touch-First Design: Design for touch if targeting touch devices; gestures work automatically
  9. Test Auto-Rotation: If using RotateAlways, ensure TransitionSpeed allows comfortable viewing
  10. Visual Feedback: Use ImageHighlightColor to clearly indicate selected item

Framework Support

  • .NET Framework 4.5 and above
  • .NET 6.0,.NET 7.0,.NET 8.0 (Windows)
  • .NET Core 3.1 (Windows)

Additional Resources

Related Controls

  • CarouselImage: Class for defining carousel image items
  • ButtonAdv: Enhanced button often used as carousel items
  • PictureBox: Standard image control
  • Panel: Container control for grouping custom content

Troubleshooting

Issue: Items not appearing in carousel

  • Ensure items are added to both Controls and Items collections
  • Verify carousel size is sufficient to display items
  • Check that items have appropriate size properties set

Issue: Images not displaying

  • Confirm ImageSlides = true is set
  • Verify image paths are correct
  • Check that images are added to ImageListCollection

Issue: Carousel not rotating

  • If using RotateAlways, ensure it's set to true
  • Check TransitionSpeed is set to a positive value
  • Verify control is visible and enabled

Issue: Touch gestures not working

  • Ensure application targets touch-enabled framework version
  • Test on actual touch device (not mouse simulation)
  • Check that carousel is in focus

Issue: Performance issues with many items

  • Reduce number of items (keep to 6-12 items)
  • Compress large images before adding
  • Lower TransitionSpeed if rotation is choppy
  • Consider disabling ShowImageShadow if performance is critical

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.49%
按下载量换算75

Claude

33.25%
按下载量换算75

Cursor

19.86%
按下载量换算45

Gemini CLI

9.47%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills