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) ?
我认为可以使用VirtualizingStackPanel轻松实现。
1.You can use ItemTemplate and load any one you wish on your click event.
2.BackgroundWorker is always a better choice to use.
我发现了其他解决方案:Tab Control IMO更好-更灵活
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.