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

syncfusion-winforms-office2010form同步融合 winforms office2010form

Agent Skill

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

总安装

235

周安装

10

GitHub Stars

1

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

采用 Office 2010 扁平化设计元素的窗体模板,平衡美观与功能性。

  • 适用于需要现代化外观又不希望过于激进改变用户习惯的应用。
  • 技能提供 Accent Color 配置接口,允许品牌色调融入界面体系。
  • 透明效果在老旧显卡上可能导致闪烁,需降级为纯色背景方案。
  • 帮助文档应配套截图说明,降低新用户学习曲线陡峭程度。

SKILL.md

Implementing Office2010Form

The Office2010Form is an advanced form control that inherits from the standard Windows Forms Form class and provides Microsoft Office 2010-like UI and appearance with built-in color schemes and extensive customization options.

When to Use This Skill

Use this skill when the user needs to:

  • Create Office 2010-styled forms with Microsoft Office 2010 UI appearance
  • Apply Office 2010 color schemes (Blue, Silver, Black, Managed) to Windows Forms applications
  • Customize form caption bars with custom alignment, fonts, colors, and heights
  • Enable Aero glass effects or configure theme compatibility on Windows Vista+
  • Implement RTL (Right-to-Left) layout for internationalized applications
  • Apply rounded corners to forms on Windows 11+ operating systems
  • Replace standard Windows Forms with Office 2010-styled forms using inheritance
  • Configure help buttons or custom caption bar elements
  • Disable Office 2010 styling when standard form appearance is needed

Component Overview

Office2010Form provides:

  • Office 2010 UI Styling: Microsoft Office 2010-inspired form appearance with professional look
  • Built-in Color Schemes: Blue, Silver, Black, and Managed themes matching Office 2010
  • Caption Bar Customization: Full control over caption alignment, fonts, colors, and height
  • Aero Theme Support: Glass effects on Windows Vista+ with theme compatibility options
  • RTL Layout Support: Right-to-left layouts for internationalized applications
  • Rounded Corners: Modern rounded corners on Windows 11+ (OS-drawn borders)
  • Form Inheritance Pattern: Simple inheritance model replacing standard Form class

Key Benefits:

  • Creates professional Office 2010-like applications with minimal code
  • Maintains standard Form functionality while adding enhanced styling
  • Supports multiple themes without custom drawing code
  • Provides backward compatibility with standard Windows Forms

Package and Assembly

NuGet Package: Syncfusion.Shared.Base

Required Assembly: Syncfusion.Shared.Base.dll

Namespace: Syncfusion.Windows.Forms

Installation:

Install-Package Syncfusion.Shared.Base

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and assembly deployment (Syncfusion.Shared.Base.dll)
  • NuGet package setup and references
  • Namespace imports (Syncfusion.Windows.Forms)
  • Converting standard Form to Office2010Form via inheritance
  • Basic form configuration and initialization
  • Minimal working example with complete code

Color Schemes and Themes

📄 Read: references/color-schemes.md

  • Built-in color schemes (Blue, Silver, Black, Managed)
  • Applying color schemes with ColorScheme property
  • Creating custom managed colors with ApplyManagedColors
  • Background color synchronization with UseOffice2010SchemeBackColor
  • Aero theme support for glass effects (ApplyAeroTheme)
  • Compatibility between Aero theme and color schemes
  • Disabling Aero to enable ColorScheme application

Caption Customization

📄 Read: references/caption-customization.md

  • Caption text alignment (left, center, right)
  • Custom caption fonts and font styling
  • Caption text color customization
  • Caption bar height adjustment
  • Help button display and configuration
  • Combining multiple caption customization options
  • Visual examples of caption customization

Advanced Features

📄 Read: references/advanced-features.md

  • Right-to-left (RTL) layout support
  • RightToLeftLayout and RightToLeft property configuration
  • Rounded corners on Windows 11+ (AllowRoundedCorners)
  • OS version requirements and compatibility
  • OS-drawn borders and shadows with rounded corners
  • Disabling Office 2010 style (DisableOffice2010Style)
  • Edge cases and platform-specific behavior

Quick Start Example

Basic Office2010Form Implementation

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

namespace MyApplication
{
    // Change inheritance from Form to Office2010Form
    public partial class MainForm : Office2010Form
    {
        public MainForm()
        {
            InitializeComponent();

            // Set form title
            this.Text = "Office2010 Styled Form";

            // Apply Blue color scheme (Office 2010 default)
            this.ColorScheme = Office2010Theme.Blue;

            // Optional: Use Office 2010 scheme for background
            this.UseOffice2010SchemeBackColor = true;

            // Set form size
            this.Size = new Size(800, 600);
        }
    }
}

Assembly Reference Required:

  • Syncfusion.Shared.Base.dll

NuGet Package:

Install-Package Syncfusion.Shared.Base

Office2010Form with Custom Caption

public partial class CustomCaptionForm : Office2010Form
{
    public CustomCaptionForm()
    {
        InitializeComponent();

        this.Text = "Custom Caption Form";

        // Apply Silver color scheme
        this.ColorScheme = Office2010Theme.Silver;

        // Center-align caption text
        this.CaptionAlign = HorizontalAlignment.Center;

        // Custom caption font
        this.CaptionFont = new Font("Segoe UI", 12F, FontStyle.Bold);

        // Custom caption color
        this.CaptionForeColor = Color.DarkBlue;

        // Increase caption bar height
        this.CaptionBarHeight = 40;
    }
}

Common Patterns

Pattern 1: Applying Different Color Schemes

public void ApplyColorScheme(Office2010Theme theme)
{
    // Apply selected theme
    this.ColorScheme = theme;

    // Sync background color with theme
    this.UseOffice2010SchemeBackColor = true;
}

// Usage examples:
ApplyColorScheme(Office2010Theme.Blue);    // Office 2010 Blue
ApplyColorScheme(Office2010Theme.Silver);  // Office 2010 Silver
ApplyColorScheme(Office2010Theme.Black);   // Office 2010 Black

Pattern 2: Custom Managed Color Scheme

public void ApplyCustomTheme(Color themeColor)
{
    // Set to Managed scheme
    this.ColorScheme = Office2010Theme.Managed;

    // Apply custom color
    Office2010Colors.ApplyManagedColors(this, themeColor);

    // Sync background
    this.UseOffice2010SchemeBackColor = true;
}

// Usage:
ApplyCustomTheme(Color.DarkMagenta);  // Custom purple theme
ApplyCustomTheme(Color.Teal);          // Custom teal theme

Pattern 3: Fully Customized Caption Bar

public void CustomizeCaptionBar()
{
    // Caption alignment
    this.CaptionAlign = HorizontalAlignment.Center;

    // Custom font
    this.CaptionFont = new Font("Arial", 14F, FontStyle.Bold);

    // Custom text color
    this.CaptionForeColor = Color.White;

    // Increased height for visibility
    this.CaptionBarHeight = 50;

    // Show help button
    this.HelpButton = true;
    this.MaximizeBox = false;
    this.MinimizeBox = false;
}

Pattern 4: RTL Layout for International Applications

public void EnableRightToLeftLayout()
{
    // Enable RTL layout
    this.RightToLeftLayout = true;

    // Set RTL reading order
    this.RightToLeft = RightToLeft.Yes;

    // Apply appropriate color scheme
    this.ColorScheme = Office2010Theme.Blue;
}

Pattern 5: Modern Windows 11 Rounded Corners

public void EnableModernAppearance()
{
    // Enable rounded corners (Windows 11+ only)
    this.AllowRoundedCorners = true;

    // Apply modern color scheme
    this.ColorScheme = Office2010Theme.Silver;

    // Note: Border and shadow drawn by OS when rounded corners enabled
}

Pattern 6: Conditional Theme Application

public void ApplyThemeWithAeroCompatibility(bool enableAero, Office2010Theme theme)
{
    if (enableAero)
    {
        // Enable Aero glass effect
        this.ApplyAeroTheme = true;

        // Note: Color schemes won't apply with Aero enabled
    }
    else
    {
        // Disable Aero to allow color scheme
        this.ApplyAeroTheme = false;

        // Apply color scheme
        this.ColorScheme = theme;
        this.UseOffice2010SchemeBackColor = true;
    }
}

Key Properties

Core Properties

PropertyTypePurposeWhen to Use
ColorSchemeOffice2010ThemeSets Office 2010 color themeApply Blue, Silver, Black, or Managed themes
UseOffice2010SchemeBackColorboolSyncs form background with themeEnsure consistent theme appearance throughout form
ApplyAeroThemeboolEnables Windows Aero glass effectCreate glass-styled forms on Windows Vista+

Caption Customization Properties

PropertyTypePurposeWhen to Use
CaptionAlignHorizontalAlignmentCaption text alignmentCenter, left-align, or right-align form title
CaptionFontFontCustom caption fontBrand-specific fonts or larger/smaller captions
CaptionForeColorColorCaption text colorCustom branding or theme-specific colors
CaptionBarHeightintCaption bar height in pixelsLarger captions for touch interfaces or branding

Feature Properties

PropertyTypePurposeWhen to Use
HelpButtonboolShows help button in captionAdd context-sensitive help access
RightToLeftLayoutboolRTL layout modeArabic, Hebrew, or other RTL languages
RightToLeftRightToLeftRTL reading orderInternationalized applications
AllowRoundedCornersboolModern rounded cornersWindows 11+ applications with modern UI
DisableOffice2010StyleboolDisables Office 2010 stylingRevert to standard form appearance

Common Use Cases

Use Case 1: Business Application with Office 2010 Theme

Scenario: Create a professional business application with Office 2010 Blue theme Approach: Inherit from Office2010Form, apply Blue color scheme, customize caption Result: Consistent Office 2010-styled interface matching Microsoft Office suite

Use Case 2: Branded Application with Custom Colors

Scenario: Corporate application requiring company brand colors Approach: Use Managed color scheme with ApplyManagedColors for custom branding Result: Office 2010 UI structure with custom corporate color theme

Use Case 3: International Application with RTL Support

Scenario: Application supporting Arabic or Hebrew languages Approach: Enable RightToLeftLayout and RightToLeft properties with Office2010Form Result: Professional Office 2010-styled form with proper RTL layout

Use Case 4: Modern Windows 11 Application

Scenario: New application targeting Windows 11 with modern appearance Approach: Enable AllowRoundedCorners with Silver theme for modern look Result: Office 2010 styling with modern rounded corners (Windows 11+ only)

Use Case 5: Theme Switcher Application

Scenario: Allow users to switch between different Office 2010 themes Approach: Provide UI to change ColorScheme property dynamically Result: Runtime theme switching between Blue, Silver, Black, and custom themes

Use Case 6: Aero-Styled Glass Effect Form

Scenario: Transparent glass effect form on Windows Vista/7 Approach: Enable ApplyAeroTheme for glass borders and transparency Result: Windows Aero glass effect with Office 2010 caption styling

Next Steps

  1. Start with Getting Started: Read references/getting-started.md for installation and basic setup
  2. Choose a Theme: Read references/color-schemes.md to select and apply color schemes
  3. Customize Caption: Read references/caption-customization.md for caption bar customization
  4. Advanced Features: Read references/advanced-features.md for RTL, rounded corners, and special features

Additional Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.9%
按下载量换算27

Claude

31.17%
按下载量换算26

Cursor

18.02%
按下载量换算15

Gemini CLI

9.8%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills