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

syncfusion-winforms-statusbaradv-panel同步融合 winforms statusbaradv 面板

Agent Skill

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

总安装

636

周安装

26

GitHub Stars

公开资料未说明

下载量

206
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WinForms StatusBarAdv 高级状态面板控件,扩展基础状态栏的功能与外观。

  • 适用于需要复杂状态指示、多状态切换、历史记录查看的高级应用。
  • 支持状态分组、图标集、工具提示及自定义控件嵌入状态区域。
  • 使用前请检查 Syncfusion 是否提供此增强型面板,部分功能可能需要额外授权。
  • 注意状态持久化与恢复机制,确保程序重启后仍能正确反映当前状态。

SKILL.md

Implementing Status Bar Panels (StatusBarAdvPanel)

This skill guides the implementation of the Syncfusion StatusBarAdvPanel control in Windows Forms applications. StatusBarAdvPanel is a panel-derived class that displays status bar information with enhanced appearance, marquee animation, and can be used both within StatusBarAdv controls and standalone on forms.

When to Use This Skill

Use this skill when you need to:

  • Create individual status bar panels with custom content and styling
  • Display key state indicators (NumLock, CapsLock, ScrollLock, Insert key)
  • Show date/time information in various formats (short date, long date, short time, long time)
  • Display culture information (CurrentCulture) in status bars
  • Implement marquee text animation with scrolling, sliding, or alternating effects
  • Apply gradient backgrounds or patterns to status bar panels
  • Configure panel alignment within StatusBarAdv or flow layouts
  • Add custom borders (2D or 3D) to individual panels
  • Handle property change events for dynamic panel updates
  • Create themed status bar panels matching application design

Component Overview

StatusBarAdvPanel is a versatile panel control designed for status bars with:

  • Panel Types: Predefined types for key states, date/time, culture, or custom text
  • Marquee Animation: Scrolling text with customizable speed, direction, and style
  • Enhanced Backgrounds: Gradient, pattern, and solid color options using BrushInfo
  • Icon Support: Display icons alongside panel text
  • Alignment Options: Content alignment (Left, Right, Center) and flow alignment (including Justify)
  • Border Customization: 2D and 3D border styles with custom colors
  • Auto-Sizing: Automatic resizing based on content (SizeToContent)
  • Theme Support: ThemesEnabled and IgnoreThemeBackground properties
  • ToolTip Support: Add tooltips to provide additional information
  • 18 Property Events: Comprehensive event handling for property changes

Assembly: Syncfusion.Tools.Windows Dependencies: Syncfusion.Shared.Base, Syncfusion.Tools.Windows Namespace: Syncfusion.Windows.Forms.Tools

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: First time implementing StatusBarAdvPanel, setting up assemblies, or creating basic panels.

  • Assembly requirements and installation
  • Designer-based setup with drag-and-drop
  • Programmatic creation and initialization
  • Adding panels to StatusBarAdv or forms
  • Basic configuration (Location, Size, BackgroundColor)
  • PanelType and BorderColor setup
  • Troubleshooting common setup issues

Panel Types and Behavior

📄 Read: references/panel-types-and-behavior.md

When to read: Configuring panel types, displaying key states or date/time, or customizing panel sizing.

  • PanelType property options (key states, date/time, culture, custom)
  • Key state indicators (NumLock, CapsLock, ScrollLock, InsertKey)
  • Date/time formats (ShortDate, LongDate, ShortTime, LongTime)
  • Custom text panels with Text property
  • GetText() method for key state text retrieval
  • SizeToContent for automatic panel resizing
  • PreferredSize property configuration

Appearance and Styling

📄 Read: references/appearance-styling.md

When to read: Customizing panel appearance, applying gradients, setting background colors, or adding icons.

  • BackgroundColor property with BrushInfo
  • Gradient styles (6 types: ForwardDiagonal, BackwardDiagonal, Horizontal, Vertical, PathRectangle, PathEllipse)
  • Pattern styles (Cross, DiagonalCross, DottedGrid, LargeGrid, Wave)
  • GradientBackground and GradientColors configuration
  • BackColor and ForeColor customization
  • Icon property for panel icons
  • Complete styling examples

Text and Marquee Animation

📄 Read: references/text-and-marquee.md

When to read: Implementing marquee text animation, configuring scrolling effects, or controlling animation behavior.

  • Text property configuration
  • IsMarquee property for enabling animation
  • AnimationDelay for timing control
  • AnimationDirection (Left/Right)
  • AnimationSpeed customization
  • AnimationStyle (Scroll, Slide, Alternate)
  • StartAnimation() and StopAnimation() methods
  • Complete marquee examples

Alignment and Borders

📄 Read: references/alignment-and-borders.md

When to read: Configuring panel alignment, customizing borders, or setting up flow layout positioning.

  • Alignment property (Left, Right, Center)
  • HAlign property for flow layout (Left, Right, Center, Justify)
  • BorderStyle property (None, FixedSingle, Fixed3D)
  • Border3DStyle options (10 styles)
  • BorderColor for 2D borders
  • BorderSingle styles (Solid, Dashed, Dotted, Inset, Outset, None)
  • BorderSides configuration (Left, Top, Right, Bottom, Middle, All)
  • 2D vs 3D border examples

Themes, ToolTips, and Events

📄 Read: references/themes-tooltips-events.md

When to read: Implementing themes, adding tooltips, or handling property change events.

  • ThemesEnabled property
  • IgnoreThemeBackground property
  • ToolTip property configuration
  • 18 property change events
  • Event subscription examples
  • Event handling patterns
  • Complete event monitoring example

Quick Start Example

Basic StatusBarAdvPanel with Gradient Background

C#:

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

public partial class MainForm : Form
{
    private StatusBarAdvPanel statusBarAdvPanel1;

    public MainForm()
    {
        InitializeComponent();
        SetupStatusBarPanel();
    }

    private void SetupStatusBarPanel()
    {
        // Create StatusBarAdvPanel
        statusBarAdvPanel1 = new StatusBarAdvPanel
        {
            // Set panel location and size
            Location = new Point(160, 184),
            Size = new Size(216, 48),

            // Configure panel type to show long date
            PanelType = StatusBarAdvPanelType.LongDate,

            // Apply gradient background
            BackgroundColor = new BrushInfo(
                GradientStyle.BackwardDiagonal,
                Color.PaleVioletRed,
                Color.PeachPuff
            ),

            // Set border and alignment
            BorderColor = Color.Black,
            HAlign = HorzFlowAlign.Left
        };

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

VB.NET:

Imports Syncfusion.Windows.Forms.Tools
Imports Syncfusion.Drawing
Imports System.Drawing
Imports System.Windows.Forms

Public Partial Class MainForm
    Inherits Form

    Private statusBarAdvPanel1 As StatusBarAdvPanel

    Public Sub New()
        InitializeComponent()
        SetupStatusBarPanel()
    End Sub

    Private Sub SetupStatusBarPanel()
        ' Create StatusBarAdvPanel
        statusBarAdvPanel1 = New StatusBarAdvPanel With {
            .Location = New Point(160, 184),
            .Size = New Size(216, 48),
            .PanelType = StatusBarAdvPanelType.LongDate,
            .BackgroundColor = New BrushInfo(
                GradientStyle.BackwardDiagonal,
                Color.PaleVioletRed,
                Color.PeachPuff
            ),
            .BorderColor = Color.Black,
            .HAlign = HorzFlowAlign.Left
        }

        ' Add to form
        Me.Controls.Add(statusBarAdvPanel1)
    End Sub
End Class

Common Patterns

Pattern 1: Marquee Panel with Scrolling Text

Create an animated status panel with marquee scrolling text:

// Configure marquee panel
var marqueePanel = new StatusBarAdvPanel
{
    Text = "Welcome to our application! Latest updates available...",
    IsMarquee = true,
    AnimationStyle = MarqueeStyle.Scroll,
    AnimationDirection = MarqueeDirection.Left,
    AnimationSpeed = 5,
    AnimationDelay = 10,
    Size = new Size(300, 30),
    BackColor = Color.LightBlue
};

// Start animation on form load
marqueePanel.StartAnimation();

// Stop animation when needed
// marqueePanel.StopAnimation();

Pattern 2: Key State Indicator Panels

Create panels displaying keyboard key states:

// NumLock indicator
var numLockPanel = new StatusBarAdvPanel
{
    PanelType = StatusBarAdvPanelType.NumLockState,
    Size = new Size(80, 24),
    HAlign = HorzFlowAlign.Right,
    BackgroundColor = new BrushInfo(Color.WhiteSmoke)
};

// CapsLock indicator
var capsLockPanel = new StatusBarAdvPanel
{
    PanelType = StatusBarAdvPanelType.CapsLockState,
    Size = new Size(80, 24),
    HAlign = HorzFlowAlign.Right,
    BackgroundColor = new BrushInfo(Color.WhiteSmoke)
};

// InsertKey indicator
var insertKeyPanel = new StatusBarAdvPanel
{
    PanelType = StatusBarAdvPanelType.InsertKeyState,
    Size = new Size(80, 24),
    HAlign = HorzFlowAlign.Right,
    BackgroundColor = new BrushInfo(Color.WhiteSmoke)
};

Pattern 3: Custom Border with 3D Effect

Apply custom 3D border to a panel:

// Create panel with 3D raised border
var borderedPanel = new StatusBarAdvPanel
{
    Text = "Status: Ready",
    Size = new Size(150, 30),
    BorderStyle = BorderStyle.Fixed3D,
    Border3DStyle = Border3DStyle.RaisedInner,
    BorderSides = Border3DSide.All,
    Alignment = HorizontalAlignment.Center,
    BackgroundColor = new BrushInfo(
        GradientStyle.Horizontal,
        Color.LavenderBlush,
        Color.RosyBrown
    )
};

Key Properties

StatusBarAdvPanel Properties

PropertyTypeDescription
PanelTypeStatusBarAdvPanelTypeType of panel (Custom, NumLockState, CapsLockState, ScrollLockState, InsertKeyState, ShortDate, LongDate, ShortTime, LongTime, CurrentCulture)
TextstringText displayed in the panel (for Custom panel type)
BackgroundColorBrushInfoBackground gradient, pattern, or solid color
IconIconIcon displayed in the panel
AlignmentHorizontalAlignmentAlignment of text and icon (Left, Right, Center)
HAlignHorzFlowAlignHorizontal alignment in flow layout (Left, Right, Center, Justify)
IsMarqueeboolEnables marquee-style text animation
AnimationStyleMarqueeStyleAnimation style (Scroll, Slide, Alternate)
AnimationDirectionMarqueeDirectionAnimation direction (Left, Right)
AnimationSpeedintSpeed of marquee animation
AnimationDelayintDelay before animation starts
BorderStyleBorderStyleBorder style (None, FixedSingle, Fixed3D)
Border3DStyleBorder3DStyle3D border style (10 options)
BorderColorColorColor of 2D border
BorderSingleButtonBorderStyle2D border style (Solid, Dashed, Dotted, etc.)
BorderSidesBorder3DSideBorder sides to display (All, Top, Bottom, Left, Right, Middle)
SizeToContentboolAuto-resize panel based on content
PreferredSizeSizePreferred size in flow layout
ThemesEnabledboolEnables themed appearance
IgnoreThemeBackgroundboolIgnores theme background color
ToolTipstringTooltip text for the panel

Common Use Cases

  1. Application Status Display: Show current application state with custom text and styling
  2. Keyboard State Indicators: Display NumLock, CapsLock, ScrollLock, and Insert key states
  3. Date/Time Information: Show current date and time in various formats
  4. Culture Information: Display current culture settings
  5. Marquee Announcements: Scrolling text for announcements or updates
  6. Progress Indicators: Custom panels with text indicating processing status
  7. Document Information: Show document-related information (line number, position, etc.)
  8. Themed Status Panels: Match application theme with coordinated panel styling

Additional Resources

For more information about StatusBarAdvPanel:

  • Use within StatusBarAdv control for enhanced status bars
  • Combine multiple panels with different types for comprehensive status displays
  • Leverage events for dynamic panel updates based on application state
  • Apply consistent theming across all panels for professional appearance

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.22%
按下载量换算79

Claude

28.02%
按下载量换算58

Cursor

19.94%
按下载量换算41

Gemini CLI

8.62%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills