How can I dock/anchor two listviews vertically aligned to grow equally on orientation change?

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-02-11T23:15:21Z Indexed on 2010/04/25 5:13 UTC
Read the original article Hit count: 179

Filed under:
|
|

I have two ListViews in Compact Framework 2.0 positioned vertically next to each other. Each of the ListViews occupies half of the screen. How can I dock/anchor them so when the orientation changes for landscape they grow equally and do not overlap each other.

From

-------- --------
|      | |      |    
|      | |      |    
|      | |      |    
-------- --------

Into

--------------  -------------
|            | |            |    
|            | |            |    
|            | |            |    
--------------  -------------

© Stack Overflow or respective owner

Related posts about c#

Related posts about .netcf