I am programmatically adding an image to the Items, but I only get the loading picture and not the picture I am passing to it. I am doing the following: (1) capturing a screenshot of the RootVisual into a WriteableBitmap, (2) mapping the capture into a new Image control, and (3) adding the Image control into the RadCoverFlow control. I have an additional Image control (ImageTest) that I am using to verify that the capture does and does display in an image control. Please see below code.
Thanks.
Dennis
System.Windows.Media.Imaging.WriteableBitmap pageCapture = new System.Windows.Media.Imaging.WriteableBitmap (App.Current.RootVisual, new TranslateTransform ()); |
Image pageCaptureImage = new Image (); |
pageCaptureImage.Source = pageCapture; |
myRadCoverFlow.Items.Add (pageCaptureImage); |
ImageTest.Source = pageCapture; |
Thanks.
Dennis