PDA

Click to See Complete Forum and Search --> : [RESOLVED] Preview of window/page that hasnt appeared yet


chris128
Feb 22nd, 2009, 10:01 AM
Hi Guys,

I've got a listbox that is used as a menu for selecting which report you want to view in the main part of the window that this listbox is in. What I would like to do is have a thumbnail of the Page that will be shown when the user clicks an item in the listbox.

So each item in the listbox will have a small image that is a thumbnail of the report page that will be shown when its clicked. The problem is that the way I am showing the reports is by just navigating a Frame control, so the report pages arent on screen for me to bind a VisualBrush to the name of the pages (until after the user has clicked an item in the listbox, which is obviously too late as I want this thumbnail to be there all the time)

I hope I've explained that well enough :)

Anyone have any ideas as to how I could do this?

Thanks
Chris

chris128
Feb 22nd, 2009, 10:11 AM
Nevermind, I realised that pages themselves are visuals so I can just bind a VisualBrush straight to an instance of the page that each item will make the Frame navigate to. Problem solved :)