Best way to generate table?-VBForums
Results 1 to 2 of 2

Thread: Best way to generate table?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2002
    Posts
    1,602

    Best way to generate table?

    Hi!

    We are debating which is is the best way in XAML (for windows phone 8.1) to generate a simple grid with x times y cells, where each cell should be clickable and have it's own datatemplate. What should the container Control for this table be?

    One popular idea is to use a listbox with a datatemplate consisting of a stackpanel for each row and each stackpanel holds multiple user Controls represesenting each cell. If the table was a calendar, reprensenting a month view, each dataitem should represent one week, and each stackpanel should hold 7 user Controls representing each day...

    Are there any better ideas? It should support MVVM.

    /H

  2. #2
    Banned
    Join Date
    Jan 2017
    Posts
    1

    Re: Best way to generate table?

    Hi,

    Actually, I'm a beginner to this. I have searched for your query and got sample code for creating table. I do not have a clear idea whether you are looking for the same or not. Though, I think that both the links msdn.microsoft.com/en-us/library/ms750416(v=vs.110).aspx and wpf-tutorial.com/panels/grid-rows-and-columns might be helpful.
    Last edited by si_the_geek; Jan 30th, 2017 at 08:07 AM. Reason: removed advertising

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.