Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView height inside of a StackPanel - problem...
Message
From
19/06/2008 21:33:17
 
 
To
19/06/2008 17:34:35
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Miscellaneous
Thread ID:
01325263
Message ID:
01325617
Views:
13
>Beautiful! I changed the main container to a Grid as you suggested and got the desired result.

Cool.

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.

>This is so cool. There are so many ways to present data with WPF. It will take a long time to learn all the tricks. However, I see spending a lot more time playing with the UI possibilities than with VFP. In VFP your UI choices are quite fixed, so there's not a whole lot of thinking to go into the UI design. Everybody knows what a LOB UI is going to look like. With WPF ( i.e. the LisView control alone) , the possibilities are endless.
>
>I wish I could show a screen shot.

I got to see it, I dumped your code into a window so I could play with it., it looks nice! (I didn't have the code behind, but I was able to tweak it enough to get the idea.)

Ya it's fun to play with. I can't wait to get the LOB stuff that I'm working with far enough along that I can take a break and play some more with the fun stuff in it. I want to play with some 3D and some Animations. So far most of my UI looks pretty normal, its when you change the window size that you see that it's very dynamic and reformats itself for the window size. (I do have an alternate Media Player type theme I created for it, which was fun.)

I've also retemplated a number of the standard controls to make them look more like Visual Studio and give it that good old LOB look and feel, boring I know, but when you start playing with the templates you really get a feel for how much you can do in WPF.

So overall I'm having fun with it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform