I would like to make an application in a one window using XAML. It should be like a slideshow with next and back button. One idea is to make 4 panels and have just one enable at the time. Is there any other way to do this? Like dynamic loading of other XAML?
is it the BackgroundWorker mandatory to use with WPF (hence is DirectX rendered there's almost no GUI lags) ?
views:
53answers:
4
+1
A:
- You can do it with Pages that you can show in a window. Just create a window for every page and change the root tag to Page.
- It should be used if you want to perform a long running, non-UI related task, to prevent locking the UI.
Jouke van der Maas
2010-05-28 22:40:44
I agree that using pages seems to be a great fit, just handle the page navigation to simulate slides.
Agies
2010-05-29 02:37:20
thx a lot! do you have any example of this?
lukas
2010-05-29 16:49:33
A:
I think this could be achieved fairly easily with a VirtualizingStackPanel.
hemp
2010-05-29 00:00:21
A:
1.You can use ItemTemplate and load any one you wish on your click event.
2.BackgroundWorker is always a better choice to use.
Johnny
2010-05-29 08:21:13