Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView height inside of a StackPanel - problem...
Message
De
19/06/2008 22:35:29
 
 
À
19/06/2008 21:33:17
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01325263
Message ID:
01325635
Vues:
13
Oh me... I haven't gotten that far yet. Just getting my data from VFP to SQL Server, to Linq-to-Sql to a WPF ListView has been a long, slow (but fun) journey.

For now, I'm just pulling some queries back just to see something displayed. I may ask for some further info on your comment in a few months when I get a little further along.

Thanks John


>One hint on your data sources...
>
>If you want a listview or treeview to dynamically update itself use an ObservableCollection for the ItemSource. Unfortunately the collections returned by Linq aren't observable so you have to copy the data over to one. However, I was able to add them to my dbml classes and so far that is working great for me. Once you hook to observable the views pretty much take care of themselves.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform