Article
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    APIs
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog

Home >> C# >> FlowLayoutPanel Control in C#.Net
FlowLayoutPanel Control in C#.Net
FlowLayoutPanel Control in C#.Net


by John Smith on 1/24/2011 7:54:23 PM

Views: 4454       Comments: 0

FlowLayoutPanel Control in C#.Net

The FlowLayoutPanel dynamically repositions the controls it contains. The FlowLayoutPanel also supports Scroll when the AutoScroll property is set to True.

Drag and drop FlowLayoutPanel from toolbox on the window Form.

FlowLayoutPanel Control in C#.Net

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

FlowLayoutPanel Properties

FlowDirection:  You can also set Flow direction in which control will flow through Flow Direction property (LeftToRight, Top Down, RightToLeft, and Bottom Up).

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

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

Report Abuse Form
Reason:    
 

Title :
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
     
 
Latest Article by John SmithRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 3261
Advertisement
MindStick Cleaner
Advertise with Us
  
Copyright © 2013MindStick. All Rights Reserved.