C# and FlowLayoutPanel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samentu
    New Member
    • Apr 2007
    • 7

    C# and FlowLayoutPanel

    Hello.
    Is there a way to use a FlowLayoutPanel and be able to change the FlowDirection every time it goes on a new row? (I also need to have WrapContents enabled). What I want to obtain is something like a snake effect as in if a have a FlowLayoutPanel expanded on 5 rows for example, I need it to have the FlowDirection LeftToRight on the first row, RightToLeft on the 2nd, LeftToRight on the 3rd and so on. Or maybe could someone point me towards another approach.
    Thanks in advance. Bye!
  • samentu
    New Member
    • Apr 2007
    • 7

    #2
    No opinions yet? :(

    Comment

    • JanOlMajti
      New Member
      • Feb 2012
      • 3

      #3
      The TableLayoutPane l may be a better solution for you - it has built in support for auto-sizing columns and rows, as well as auto-size for the whole panel

      Comment

      Working...