dotnetmonitor.com

 
Index
Previous
Next

 

The ColumnStyles and RowStyles collection control the sizing of all the rows and columns. If these are empty or there are more rows/columns than styles, it is assumed the column/row is "AutoSized".

         AutoSize sizes the column/row to the minimum size necessary to fully contain the largest content in the column/row.

         Absolute sizes to a fixed width

         Percent sizes to a normalized percentage of remaining space.

 

NOTE: Although not strictly required, at design time we attempt to preserve a 1:1 mapping between row and rowstyle along with column and columnstyle. Because these collections in runtime are independent, alteration of one collection can result in sync problems between the two and unexpected results.

Terms
Docking Anchor Layout
What happens when I have Dock and Anchors that conflict?
Dock Scenarios
Padding Margin
You have a perf problem with Layout - how to diagnose?