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

syncfusion-winforms-statusstrip同步融合 winform 状态条

Agent Skill

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

总安装

642

周安装

27

GitHub Stars

公开资料未说明

下载量

225
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Syncfusion WinForms 状态条控件,为标准 StatusStrip 提供更丰富的样式与交互选项。

  • 适用于传统 WinForms 应用升级现代化界面时的过渡方案。
  • 支持 ToolStripStatusLabel 增强、进度条集成、闪烁警告及自定义渲染。
  • 需确认项目是否已迁移至 Syncfusion 控件体系,避免混合使用导致的样式冲突。
  • 在主题切换时应测试状态条颜色与背景的对比度,确保信息可读性不受影响。

SKILL.md

Implementing Syncfusion WinForms StatusStripEx

The StatusStripEx control provides an enhanced status strip that can be added to the bottom of forms or Ribbon controls. It supports various item types, Office themes, custom colors, and flexible positioning for creating professional status bars.

When to Use This Skill

Use this skill when the user needs to:

  • Application Status Bars: Display application status, user info, or system state at bottom of form
  • Progress Indicators: Show progress bars or loading indicators in status strip
  • Ribbon Status Strips: Add status bar to bottom of RibbonControlAdv
  • Left/Right Alignment: Different item types for left-aligned (notifications) vs right-aligned (status)
  • Themed Status Bars: Office2007 (Silver/Blue/Black) or Office2016 themes
  • Custom Status Items: Buttons, labels, dropdowns, split buttons, progress bars, trackbars
  • Sizing Grip: Resizable form indicator with customizable grip appearance
  • Status Information: Display file info, record counts, zoom levels, connection status
  • Word-Style Context Menu: Custom context menu for status items

Component Overview

StatusStripEx (Syncfusion.Windows.Forms.Tools.StatusStripEx) is an enhanced status strip control supporting:

  • Two Item Types:

- StatusControl Items: Right-aligned (StatusLabel, ProgressBar, DropDownButton, SplitButton, PanelItem, TrackBarItem) - Notification Items: Left-aligned (StatusStripButton, StatusStripLabel, StatusStripProgressBar, etc.)

  • Office2007 Color Schemes: Silver, Blue, Black
  • Office2016 Visual Styles: Colorful, White, Black, DarkGray
  • Custom Managed Colors: Apply custom color themes
  • Sizing Grip: Customizable resize grip at bottom-right corner
  • Smart Tag Support: Quick item addition via designer
  • Custom Context Menu: Word2007-style status bar context menu
  • Ribbon Integration: Works seamlessly with RibbonControlAdv

Key Namespace: Syncfusion.Windows.Forms.Tools

Assembly: Syncfusion.Tools.Windows.dll (and dependencies)


Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: User needs to install, configure, or create their first StatusStripEx.

Topics covered:

  • Assembly deployment and NuGet package installation
  • Adding StatusStripEx via designer (toolbox)
  • Adding StatusStripEx via code
  • Docking to bottom of form or Ribbon
  • Items Collection Editor for adding items
  • Smart tag support for quick item addition
  • Basic status strip setup

Status Items and Collections

📄 Read: references/status-items.md

When to read: User wants to add status labels, progress bars, buttons, or understand item positioning.

Topics covered:

  • StatusControl items (right-aligned): StatusLabel, ProgressBar, DropDownButton, SplitButton, PanelItem, TrackBarItem
  • Notification items (left-aligned): StatusStripButton, StatusStripLabel, StatusStripProgressBar, StatusStripDropDownButton, etc.
  • Difference between StatusControl and Notification items
  • Adding items programmatically via Items collection
  • Item positioning and alignment strategies
  • Using different item types effectively

Sizing Grip Customization

📄 Read: references/sizing-grip.md

When to read: User needs to show/hide sizing grip or customize grip appearance.

Topics covered:

  • Sizing grip overview and purpose
  • SizingGrip property (true/false)
  • GripStyle property (Visible, Hidden)
  • GripMargin property for spacing
  • Customizing grip appearance
  • When to show or hide sizing grip

Styling and Appearance

📄 Read: references/styling-and-appearance.md

When to read: User wants Office2007/2016 themes or custom status bar colors.

Topics covered:

  • Office2007 color schemes (Silver, Blue, Black)
  • OfficeColorScheme property usage
  • Office2016 visual styles (Colorful, White, Black, DarkGray)
  • VisualStyle property configuration
  • Custom managed colors with ApplyManagedColors
  • Custom context menu (Word2007-style)
  • StatusString property for context menu items

Quick Start Example

Basic StatusStripEx with Items

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

// Create StatusStripEx
StatusStripEx statusStripEx1 = new StatusStripEx();

// Create status label (right-aligned)
ToolStripStatusLabel statusLabel = new ToolStripStatusLabel();
statusLabel.Text = "Ready";

// Create progress bar (right-aligned)
ToolStripProgressBar progressBar = new ToolStripProgressBar();
progressBar.Value = 50;

// Add items to StatusStripEx
statusStripEx1.Items.AddRange(new ToolStripItem[] {
    statusLabel,
    progressBar
});

// Dock to bottom
statusStripEx1.Dock = DockStyleEx.Bottom;

// Add to form
this.Controls.Add(statusStripEx1);

StatusStripEx with Office2016 Theme

// Apply Office2016 Colorful theme
statusStripEx1.VisualStyle = StatusStripExStyle.Office2016Colorful;

// Enable sizing grip
statusStripEx1.SizingGrip = true;
statusStripEx1.GripStyle = ToolStripGripStyle.Visible;

Common Patterns

Application Status Bar with Multiple Items

// Create StatusStripEx
StatusStripEx statusBar = new StatusStripEx();
statusBar.Dock = DockStyleEx.Bottom;

// Left-aligned notification item
ToolStripStatusLabel notificationLabel = new ToolStripStatusLabel();
notificationLabel.Text = "Connection: Active";
notificationLabel.Spring = true;  // Fill available space

// Right-aligned status items
ToolStripStatusLabel recordLabel = new ToolStripStatusLabel();
recordLabel.Text = "Records: 1,234";

ToolStripProgressBar loadingProgress = new ToolStripProgressBar();
loadingProgress.Visible = false;  // Show when loading

ToolStripStatusLabel zoomLabel = new ToolStripStatusLabel();
zoomLabel.Text = "Zoom: 100%";

// Add all items
statusBar.Items.AddRange(new ToolStripItem[] {
    notificationLabel,
    recordLabel,
    loadingProgress,
    zoomLabel
});

this.Controls.Add(statusBar);

When to use: Multi-purpose status bar showing various application states.

Progress Indicator in Status Bar

// Status bar with progress tracking
StatusStripEx statusBar = new StatusStripEx();

ToolStripStatusLabel statusText = new ToolStripStatusLabel();
statusText.Text = "Processing...";

ToolStripProgressBar progressBar = new ToolStripProgressBar();
progressBar.Style = ProgressBarStyle.Continuous;
progressBar.Maximum = 100;

statusBar.Items.AddRange(new ToolStripItem[] { statusText, progressBar });
statusBar.Dock = DockStyleEx.Bottom;

// Update progress
void UpdateProgress(int percent)
{
    progressBar.Value = percent;
    statusText.Text = $"Processing... {percent}%";
}

When to use: Long-running operations requiring progress feedback.

Ribbon with StatusStripEx

// StatusStripEx at bottom of Ribbon form
StatusStripEx ribbonStatusBar = new StatusStripEx();
ribbonStatusBar.Dock = DockStyleEx.Bottom;

// Apply matching Office2016 theme
ribbonStatusBar.VisualStyle = StatusStripExStyle.Office2016Colorful;

// Add status items
ToolStripStatusLabel pageLabel = new ToolStripStatusLabel();
pageLabel.Text = "Page 1 of 10";

ToolStripStatusLabel wordCount = new ToolStripStatusLabel();
wordCount.Text = "Words: 245";

ribbonStatusBar.Items.AddRange(new ToolStripItem[] { pageLabel, wordCount });

// Add to form (ensure it's added after Ribbon)
this.Controls.Add(ribbonStatusBar);

When to use: Ribbon-based applications requiring status information.

Custom Themed Status Bar

// Apply custom managed color
statusStripEx1.OfficeColorScheme = ToolStripEx.ColorScheme.Managed;
Office2007Colors.ApplyManagedColors(this, Color.DarkBlue);

// Custom context menu for status items
ToolStripStatusLabel statusLabel = new ToolStripStatusLabel();
statusLabel.Text = "Pages";
statusLabel.StatusString = "1/1";  // Shows in Word-style context menu

When to use: Branded applications with custom color schemes.


Key Properties

Core Properties

PropertyTypeDescriptionWhen to Use
ItemsToolStripItemCollectionCollection of status itemsAdd/manage status strip items
DockDockStyleExDocking position (Bottom)Position status strip at bottom
SizingGripboolShow/hide sizing gripEnable form resizing indicator
GripStyleToolStripGripStyleGrip visibility styleCustomize grip appearance
GripMarginPaddingGrip margin spacingAdjust grip positioning

Styling Properties

PropertyTypeDescriptionWhen to Use
VisualStyleStatusStripExStyleOffice2016 visual styleApply Office2016 themes
OfficeColorSchemeColorSchemeOffice2007 color schemeApply Silver/Blue/Black themes

Item Types

StatusControl Items (Right-Aligned):

  • StatusLabel - Text label for status information
  • ProgressBar - Progress indicator
  • DropDownButton - Dropdown button for options
  • SplitButton - Split button with dropdown
  • PanelItem - Custom panel container
  • TrackBarItem - Slider control

Notification Items (Left-Aligned):

  • StatusStripButton - Button control
  • StatusStripLabel - Text label
  • StatusStripProgressBar - Progress indicator
  • StatusStripDropDownButton - Dropdown button
  • StatusStripSplitButton - Split button
  • StatusStripPanelItem - Custom panel

Common Use Cases

1. Document Editor Status Bar

Scenario: Word-like editor showing page, word count, zoom.

  • Add StatusLabel for page number (e.g., "Page 1 of 5")
  • Add StatusLabel for word count (e.g., "Words: 1,234")
  • Add TrackBarItem for zoom control
  • Use Office2016Colorful theme for modern look
  • Read: status-items.md, styling-and-appearance.md

2. Data Application with Record Count

Scenario: Database application showing record count and connection status.

  • Left-aligned notification label for connection status
  • Right-aligned label for record count
  • ProgressBar for data loading operations
  • Read: status-items.md

3. File Manager with Status Info

Scenario: File manager showing selected items, total size.

  • StatusLabel: "5 items selected"
  • StatusLabel: "Total: 2.5 GB"
  • StatusLabel: "Free space: 150 GB"
  • Read: getting-started.md

4. Application with Background Tasks

Scenario: Show background task progress in status bar.

  • StatusStripLabel: Task description (left-aligned)
  • StatusStripProgressBar: Task progress (left-aligned)
  • Hide progress when task completes
  • Read: status-items.md

5. Branded Application Status Bar

Scenario: Custom color theme matching brand identity.

  • Set OfficeColorScheme to Managed
  • Apply custom color via ApplyManagedColors
  • Match status bar to application theme
  • Read: styling-and-appearance.md

6. Ribbon Application Status Bar

Scenario: Status bar for RibbonControlAdv application.


Best Practices

  1. Item Alignment: Use StatusControl items for right-aligned, Notification items for left-aligned
  2. Theme Consistency: Match StatusStripEx style to application theme (Office2007/2016)
  3. Sizing Grip: Enable for resizable forms, disable for fixed-size forms
  4. Progress Indicators: Show ProgressBar only during operations, hide when complete
  5. Spring Property: Use Spring=true on left items to push right items to the right
  6. Item Count: Keep status bar items minimal (3-6 items) for clarity
  7. Text Updates: Update status text dynamically to reflect application state
  8. Ribbon Compatibility: Add StatusStripEx after Ribbon to ensure proper docking

See Also

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.13%
按下载量换算86

Claude

29.19%
按下载量换算66

Cursor

20.66%
按下载量换算46

Gemini CLI

9.29%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills