---
title: "FlowLayoutPanel Control in C#.Net"  
description: "The FlowLayoutPanel dynamically repositions the controls it contains. The FlowLayoutPanel also supports Scroll when the AutoScroll property is set to"  
author: "John Smith"  
published: 2011-01-24  
updated: 2020-05-28  
canonical: https://www.mindstick.com/articles/405/flowlayoutpanel-control-in-c-sharp-dot-net  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# FlowLayoutPanel Control in C#.Net

The [FlowLayoutPanel](https://www.mindstick.com/articles/297/flowlayoutpanel-control-in-vb-dot-net) dynamically repositions the [controls](https://www.mindstick.com/articles/66/how-to-create-controls-at-run-time-in-csharp-dot-net) it contains. The FlowLayoutPanel also [supports](https://www.mindstick.com/blog/12043/how-to-create-a-killer-mobile-app-that-supports-your-brand) Scroll when the AutoScroll [property](https://www.mindstick.com/articles/198559/an-ownership-of-property-in-hua-hin) is set to True.\

[Drag and drop](https://www.mindstick.com/forum/454/how-to-drag-and-drop-multiple-image-from-one-canvas-to-onther-canvas-in-html5) FlowLayoutPanel from toolbox on the [window Form](https://www.mindstick.com/forum/527/how-to-pass-datagridview-s-cells-value-to-another-window-form).

![FlowLayoutPanel Control in C#.Net](https://www.mindstick.com/mindstickarticle/b306fc25-fe59-4c1a-aefb-bde6a9eab42f/images/6be4b8de-c1bf-4c4a-9f4c-aa4fd095dd47.png)

When you drag and drop other control like Button, ListView and Label in FlowLayoutPanel then it will automatically arrange the control.

![FlowLayoutPanel Control in C#.Net](https://www.mindstick.com/mindstickarticle/b306fc25-fe59-4c1a-aefb-bde6a9eab42f/images/db8908fd-cba7-412a-abe2-3fdb09cab5fa.png)

**FlowLayoutPanel [Properties](https://yourviews.mindstick.com/view/81845/now-it-s-possible-to-predict-properties-of-any-molecule)**

FlowDirection: You can also set Flow [direction](https://yourviews.mindstick.com/story/5034/10-animals-with-the-best-sense-of-direction) in which [control](https://yourviews.mindstick.com/view/83439/bipartisan-gun-control-bill-passed-in-us-after-decades) will flow through Flow Direction property (LeftToRight, Top Down, RightToLeft, and [Bottom Up](https://yourviews.mindstick.com/view/84382/what-are-bottom-up-and-bottom-down-marketing-strategies)).

## Example:

```
private void frmFlowLayoutPanel_Load(object sender,  EventArgs e){              //set the FlowDirection in which control will Flow              flowLayoutPanel1.FlowDirection=FlowDirection.TopDown;}
```

\

![FlowLayoutPanel Control in C#.Net](https://www.mindstick.com/mindstickarticle/b306fc25-fe59-4c1a-aefb-bde6a9eab42f/images/77bfbf5b-741a-4bf2-9dbd-0198828d2669.png)

BorderStyle: Border of FlowLayoutPanel can be set through BorderStyle properties.

AutoScroll: When AutoScroll property is set to True then FlowLayoutPanel supports Scroll. FlowLayoutPanel will show scroll bar when some control not fit in the specified area of FlowLayoutPanel.

## Example:

```
private void frmFlowLayoutPanel_Load(object sender,  EventArgs e){              //set autoscroll to true              flowLayoutPanel1.AutoScroll = true;}
```

![FlowLayoutPanel Control in C#.Net](https://www.mindstick.com/mindstickarticle/b306fc25-fe59-4c1a-aefb-bde6a9eab42f/images/025b0a2c-697c-454b-84bf-ce2e15a60cfa.png)

---

Original Source: https://www.mindstick.com/articles/405/flowlayoutpanel-control-in-c-sharp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
