/syncfusion-winforms:syncfusion-winforms-flow-layoutfrom Syncfusion WinForms Controls
Implementing FlowLayout in Windows Forms to automatically arrange child components horizontally or vertically. Use this when working with automatic control layouts, responsive form designs, or dynamic control arrangement. Covers spacing configuration, alignment modes, control constraints, and layout positioning.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Use this skill when you need to:
The FlowLayout is a layout manager that automatically positions child controls in a single-direction flow pattern. Unlike absolute positioning, FlowLayout provides:
📄 Read: references/getting-started.md
Learn assembly requirements, setup methods, and basic FlowLayout implementation:
When to read: Before implementing FlowLayout for the first time
📄 Read: references/layout-modes.md
Configure how controls flow and reverse the direction:
When to read: When changing how controls are arranged or need directional control
📄 Read: references/spacing-and-sizing.md
Manage gaps between controls and container auto-sizing:
When to read: When adjusting control spacing or enabling responsive sizing
📄 Read: references/alignment-options.md
Configure control alignment and layout strategies:
When to read: When centering controls, justifying rows, or using constraint-based layouts
📄 Read: references/child-control-constraints.md
Apply per-control constraints for advanced layout scenarios:
When to read: When building complex forms with varied control alignment needs
// 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.
flowLayout1.LayoutMode = FlowLayoutMode.Horizontal;
flowLayout1.Alignment = FlowAlignment.Near;
flowLayout1.HGap = 5;
flowLayout1.VGap = 5;
flowLayout1.LayoutMode = FlowLayoutMode.Vertical;
flowLayout1.Alignment = FlowAlignment.Center;
flowLayout1.HGap = 10;
flowLayout1.VGap = 5;
flowLayout1.Alignment = FlowAlignment.ChildConstraints;
flowLayout1.AutoHeight = true;
// Set per-control constraints using SetConstraints()
flowLayout1.ReverseRows = true;
flowLayout1.LayoutMode = FlowLayoutMode.Horizontal;
| Property | Type | Purpose |
|---|---|---|
LayoutMode | FlowLayoutMode | Horizontal or Vertical arrangement |
Alignment | FlowAlignment | Center, Near, Far, or ChildConstraints |
HGap | int | Horizontal spacing between controls |
VGap | int | Vertical spacing between controls |
AutoHeight | bool | Enable automatic container height adjustment |
ReverseRows | bool | Reverse flow direction (RTL/BTL) |
ContainerControl | Control | The container holding child controls |
Arrange input fields, labels, and buttons with automatic wrapping and constraint-based alignment for responsive form layouts.
Create dynamic button collections that wrap intelligently as window size changes.
Organize checkboxes and radio buttons vertically with auto-sizing.
Combine FlowLayout with panels to build flexible dashboard layouts that resize content intelligently.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job