Thursday, May 30, 2013

How to get gridview with variable sized gridview items?

Hi ,


Yes I had the same problem and I had to deal with it with a different way.


In my case there were buttons.


Take a look at this.


http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/b71eaf4a-7bea-4aec-8f1b-9fdb44e7c75c


http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/35265658-eef8-4e0b-be14-70ddb2f7c3ba


Of course I used variable grid size and rowspan and colspan but if you read it carefully I'm using a button which I make visible to get its size and then invisible . And all this according to the content it has inside. I wanted the content to be the "controller" of what size I will give to my buttons.


Hope the links will help you.


thank you


No comments:

Post a Comment