Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-fontcombobox同步融合 winforms 字体组合框

Agent Skill

syncfusion-winforms-fontcombobox 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

729

周安装

31

GitHub Stars

1

下载量

255
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 支持根据关键词、任务场景或来源线索进行信息匹配。
  • 通过 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网操作。
  • 适用于需要精准检索信息的场景。

SKILL.md

Implementing FontComboBox

A specialized combo box control for Windows Forms that automatically populates with system fonts, providing an intuitive font selection interface with preview capabilities.

When to Use This Skill

Use this skill when you need to:

  • Font Selection UI: Implement font picker controls in Windows Forms applications
  • System Font Display: Show all installed fonts with visual previews
  • Typography Tools: Build text editors, design tools, or formatting interfaces
  • Font Enumeration: Automatically populate dropdowns with available system fonts
  • Rich Text Applications: Create word processors, document editors, or formatting panels
  • Design Applications: Build UI customization tools requiring font selection

Component Overview

The FontComboBox is a specialized combo box control derived from standard ComboBox that:

  • Automatically populates with all system-installed fonts
  • Displays font names in their respective typefaces
  • Supports AutoComplete for quick font search
  • Provides extensive dropdown customization options
  • Includes built-in visual styles and theming
  • Handles font selection events with type-safe access

Key Capabilities:

  • Automatic system font loading
  • Font preview in dropdown items
  • AutoComplete and filtering
  • Multiple visual themes (Office2016, Metro, Office2007)
  • RTL support
  • Symbol font rendering
  • Custom event handling

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When to read: Starting new implementation, setting up dependencies, first-time usage

Topics covered:

  • Assembly deployment and NuGet packages
  • Control dependencies for FontComboBox
  • Adding via Visual Studio designer (toolbox drag-drop)
  • Adding via code (manual instantiation)
  • Basic initialization and configuration
  • RTL (Right-to-Left) layout support
  • Sample GitHub projects

AutoComplete Features

📄 Read: references/autocomplete.md

When to read: Enabling font search, implementing type-ahead, configuring auto-completion behavior

Topics covered:

  • UseAutoComplete property for enabling/disabling
  • AutoCompleteSource options (ListItems, CustomSource)
  • AutoCompleteMode settings (Suggest, Append, SuggestAppend)
  • AutoCompleteCustomSource for custom font lists
  • Best practices for AutoComplete configuration
  • Code examples with filtering behavior

DropDown Configuration

📄 Read: references/dropdown-configuration.md

When to read: Customizing dropdown appearance, controlling popup behavior, configuring item display

Topics covered:

  • DropDownStyle options (DropDown, DropDownList, Simple)
  • DropDownHeight and DropDownWidth sizing
  • MaxDropDownItems for visible item count
  • ShowSymbolFontPreview for symbol fonts
  • ItemHeight for item spacing
  • Sorted property for alphabetical ordering
  • Dropdown behavior customization

Selection and Events

📄 Read: references/selection-and-events.md

When to read: Handling font selection changes, responding to user input, applying selected fonts

Topics covered:

  • Programmatic selection with SelectedItem and SelectedIndex
  • SelectedIndexChanged event handling
  • Custom FontSelected event implementation
  • Applying selected fonts to other controls (labels, textboxes)
  • Event-driven font updates
  • Code patterns for selection management

Visual Styles and Theming

📄 Read: references/visual-styles.md

When to read: Applying themes, customizing control appearance, matching application design

Topics covered:

  • VisualStyle property (Office2016Colorful, Office2016White, Office2016Black, Office2016DarkGray, Metro, Office2010, Office2007, Default)
  • Office2007ColorScheme options (Blue, Silver, Black)
  • Custom color themes with Office2007ColorTheme.Managed
  • ApplyManagedColors for custom color application
  • Theme screenshots and visual examples

Quick Start

Basic FontComboBox Setup

using Syncfusion.Windows.Forms.Tools;

// Create and configure FontComboBox
FontComboBox fontComboBox = new FontComboBox();
fontComboBox.Size = new Size(200, 25);
fontComboBox.Location = new Point(20, 20);

// Enable AutoComplete for font search
fontComboBox.UseAutoComplete = true;

// Set default selected font
fontComboBox.Text = "Arial";

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

Handle Font Selection

// Subscribe to selection changed event
fontComboBox.SelectedIndexChanged += FontComboBox_SelectedIndexChanged;

private void FontComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
    if (fontComboBox.Text != null)
    {
        // Apply selected font to a label
        label1.Font = new Font(fontComboBox.Text.ToString(), 12, FontStyle.Regular);
    }
}

Common Patterns

Pattern 1: Font Picker with Preview

// Configure FontComboBox with preview
FontComboBox fontComboBox = new FontComboBox
{
    UseAutoComplete = true,
    DropDownStyle = ComboBoxStyle.DropDownList,
    ShowSymbolFontPreview = true,
    DropDownHeight = 200,
    Sorted = true
};

// Handle selection to update preview label
fontComboBox.SelectedIndexChanged += (s, e) =>
{
    if (fontComboBox.Text != null)
    {
        previewLabel.Font = new Font(fontComboBox.Text.ToString(), 14);
        previewLabel.Text = "The quick brown fox jumps over the lazy dog";
    }
};

Pattern 2: Themed Font Selector

// Apply Office2016 theme
FontComboBox fontComboBox = new FontComboBox
{
    VisualStyle = ThemedComboBoxStyles.Office2016Colorful,
    UseAutoComplete = true,
    DropDownStyle = ComboBoxStyle.DropDown
};

// Set initial font
fontComboBox.Text = "Segoe UI";

Pattern 3: Custom Font List with AutoComplete

// Create FontComboBox with custom font list
FontComboBox fontComboBox = new FontComboBox();

// Configure custom AutoComplete source
fontComboBox.AutoCompleteCustomSource.AddRange(new string[]
{
    "Arial", "Calibri", "Cambria", "Georgia", "Times New Roman", "Verdana"
});
fontComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
fontComboBox.AutoCompleteSource = AutoCompleteSource.CustomSource;

Key Properties

Selection Properties

  • SelectedItem: Gets or sets the currently selected font name (string)
  • SelectedIndex: Gets or sets the index of the selected font (int)

AutoComplete Properties

  • UseAutoComplete: Enables/disables AutoComplete feature (bool)
  • AutoCompleteMode: Sets completion behavior (Suggest, Append, SuggestAppend)
  • AutoCompleteSource: Specifies source for completion (ListItems, CustomSource)
  • AutoCompleteCustomSource: Custom string collection for AutoComplete

DropDown Properties

  • DropDownStyle: Controls edit/select behavior (DropDown, DropDownList, Simple)
  • DropDownHeight: Height of dropdown in pixels (int)
  • DropDownWidth: Width of dropdown in pixels (int)
  • MaxDropDownItems: Maximum visible items in dropdown (int)
  • ShowSymbolFontPreview: Renders symbol fonts with their typeface (bool)

Item Properties

  • ItemHeight: Height of each dropdown item in pixels (int)
  • Sorted: Enables alphabetical sorting of fonts (bool)

Styling Properties

  • VisualStyle: Sets control theme (Office2016Colorful, Metro, Office2007, etc.)
  • Office2007ColorScheme: Color scheme for Office2007 style (Blue, Silver, Black)
  • Office2007ColorTheme: Custom theme mode (Managed for custom colors)

Layout Properties

  • RightToLeft: Enables RTL layout (RightToLeft.Yes/No)

Common Use Cases

Rich Text Editor Font Selector

Build a font picker for text formatting toolbars in document editors, word processors, or email clients.

Design Tool Typography Panel

Implement font selection in graphic design applications, presentation software, or UI builders.

Application Settings Font Configuration

Create font preferences dialogs for applications with customizable text display.

Custom Control Property Editors

Build property grids or configuration panels where users select fonts for custom controls.

Font Comparison Tools

Develop utilities for comparing fonts side-by-side with live previews.

Notes

  • FontComboBox automatically loads all system-installed fonts when UseAutoComplete = true is set — no manual font enumeration required.
  • Symbol fonts can be displayed with their actual glyphs using ShowSymbolFontPreview
  • Use DropDownList style to prevent manual text entry, allowing only font selection
  • SelectedIndexChanged fires whenever selection changes programmatically or by user
  • Control inherits from standard ComboBox, so all base properties/events are available

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.17%
按下载量换算92

Claude

29.44%
按下载量换算75

Cursor

20.03%
按下载量换算51

Gemini CLI

9.63%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills