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

syncfusion-winforms-flow-layout同步融合 winforms 流程布局

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

710

周安装

29

GitHub Stars

公开资料未说明

下载量

227
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于辅助界面设计、视觉规范和布局优化,提升组件层级与交互体验。

  • 适合生成 UI 方案、检查视觉一致性及改进页面结构。
  • 使用时需结合品牌规范与设计系统,避免仅堆砌装饰元素。
  • 涉及真实页面改动时,应通过截图或预览工具验证文本溢出与对齐效果。
  • 适用于前端开发与设计协作场景。syncfusion-winforms-flow-layout 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing Syncfusion Windows Forms FlowLayout

Master the FlowLayout component to create flexible, automatic control layouts in Windows Forms applications. FlowLayout arranges child components horizontally or vertically based on available space, making it ideal for responsive form design.

When to Use This Skill

Use this skill when you need to:

  • Arrange controls automatically in horizontal or vertical flows
  • Manage spacing between child controls with horizontal and vertical gaps
  • Configure alignment for controls within layout rows or columns
  • Set up constraint-based layouts for complex, resizable forms
  • Control layout direction with reverse flow options
  • Enable auto-sizing of containers based on content
  • Prevent specific controls from participating in the layout
  • Create responsive designs that adapt to container resizing

Component Overview

The FlowLayout is a layout manager that automatically positions child controls in a single-direction flow pattern. Unlike absolute positioning, FlowLayout provides:

  • Automatic arrangement: Controls flow horizontally or vertically with automatic wrapping
  • Flexible spacing: Configure gaps between controls
  • Smart alignment: Center, left/right, or constrained-based positioning
  • Responsive sizing: Auto-height adjustment when controls overflow
  • Constraint system: Fine-grained control over individual control placement

Key Features

  • Layout Modes: Horizontal (default) or vertical arrangement
  • Spacing Control: Separate horizontal (HGap) and vertical (VGap) gaps
  • Auto-Resizing: AutoHeight property adjusts container height automatically
  • Directional Control: ReverseRows reverses the flow direction (RTL/BTL)
  • Alignment Options: Center, Near, Far, or ChildConstraints-based alignment
  • Child Constraints: Per-control HAlign, VAlign, NewLine, and proportional sizing
  • Layout Participation: Selectively include/exclude controls from layout

Documentation Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Learn assembly requirements, setup methods, and basic FlowLayout implementation:

  • Assembly references and package requirements
  • Designer-based and code-based setup approaches
  • Setting ContainerControl property
  • Adding child controls to the layout
  • Selecting layout mode (Horizontal/Vertical)

When to read: Before implementing FlowLayout for the first time


Layout Modes and Direction

📄 Read: references/layout-modes.md

Configure how controls flow and reverse the direction:

  • LayoutMode property (Horizontal vs Vertical)
  • ReverseRows property for right-to-left or bottom-to-top flow
  • ParticipateInLayout method to include/exclude controls dynamically
  • Switching between layout modes at runtime
  • Use cases for each layout mode

When to read: When changing how controls are arranged or need directional control


Spacing and Sizing

📄 Read: references/spacing-and-sizing.md

Manage gaps between controls and container auto-sizing:

  • HGap property for horizontal spacing
  • VGap property for vertical spacing
  • AutoHeight for automatic container height adjustment
  • Container behavior during overflow
  • Responsive layout patterns

When to read: When adjusting control spacing or enabling responsive sizing


Alignment Options

📄 Read: references/alignment-options.md

Configure control alignment and layout strategies:

  • Simple alignment modes (Center, Near, Far)
  • ChildConstraints-based alignment system
  • When to use each alignment approach
  • Switching between alignment types
  • Edge cases and special scenarios

When to read: When centering controls, justifying rows, or using constraint-based layouts


Child Control Constraints

📄 Read: references/child-control-constraints.md

Apply per-control constraints for advanced layout scenarios:

  • HAlign and VAlign for individual control positioning
  • Justify option with space distribution
  • Active property to include/exclude specific controls
  • NewLine property to force row/column breaks
  • ProportionalRowHeight and ProportionalColWidth
  • SetConstraints and GetConstraints methods
  • Complex form layout patterns
  • Rearranging controls programmatically

When to read: When building complex forms with varied control alignment needs


Quick Start Example

// Basic horizontal layout with buttons
using Syncfusion.Windows.Forms.Tools;

public partial class MyForm : Form
{
    private FlowLayout flowLayout1;

    public MyForm()
    {
        InitializeComponent();

        // Create and configure FlowLayout
        flowLayout1 = new FlowLayout();
        flowLayout1.ContainerControl = this;
        flowLayout1.LayoutMode = FlowLayoutMode.Horizontal;
        flowLayout1.HGap = 10;
        flowLayout1.VGap = 10;

        // Create buttons
        Button btn1 = new Button { Text = "Button 1", Size = new Size(80, 30) };
        Button btn2 = new Button { Text = "Button 2", Size = new Size(80, 30) };
        Button btn3 = new Button { Text = "Button 3", Size = new Size(80, 30) };

        // Add to form (automatically laid out)
        this.Controls.Add(btn1);
        this.Controls.Add(btn2);
        this.Controls.Add(btn3);
    }
}

Result: Three buttons arranged horizontally with 10-pixel gaps, automatically wrapping to the next row when space is limited.

Common Patterns

Horizontal Button Bar

flowLayout1.LayoutMode = FlowLayoutMode.Horizontal;
flowLayout1.Alignment = FlowAlignment.Near;
flowLayout1.HGap = 5;
flowLayout1.VGap = 5;

Vertical Control List

flowLayout1.LayoutMode = FlowLayoutMode.Vertical;
flowLayout1.Alignment = FlowAlignment.Center;
flowLayout1.HGap = 10;
flowLayout1.VGap = 5;

Responsive Form Layout

flowLayout1.Alignment = FlowAlignment.ChildConstraints;
flowLayout1.AutoHeight = true;
// Set per-control constraints using SetConstraints()

Right-to-Left Flow

flowLayout1.ReverseRows = true;
flowLayout1.LayoutMode = FlowLayoutMode.Horizontal;

Key Properties Reference

PropertyTypePurpose
LayoutModeFlowLayoutModeHorizontal or Vertical arrangement
AlignmentFlowAlignmentCenter, Near, Far, or ChildConstraints
HGapintHorizontal spacing between controls
VGapintVertical spacing between controls
AutoHeightboolEnable automatic container height adjustment
ReverseRowsboolReverse flow direction (RTL/BTL)
ContainerControlControlThe container holding child controls

Common Use Cases

Data Entry Forms

Arrange input fields, labels, and buttons with automatic wrapping and constraint-based alignment for responsive form layouts.

Tool Button Bars

Create dynamic button collections that wrap intelligently as window size changes.

Option Panels

Organize checkboxes and radio buttons vertically with auto-sizing.

Responsive Dashboards

Combine FlowLayout with panels to build flexible dashboard layouts that resize content intelligently.

Configuration Dialogs

Build dialog forms with complex alignment requirements using constraint-based layouts.


Next: Choose a reference above based on your needs, or start with Getting Started for first-time implementation.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.33%
按下载量换算82

Claude

32.22%
按下载量换算73

Cursor

16.95%
按下载量换算38

Gemini CLI

9.16%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills