This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
hi! i am pretty new here and currently evaluating mindscape... i managed to load the samplepictures and set the itemsource but where do i tell the coverflow control to load these images and use as covers? currently i was only able to let it show some black items... |
|
|
Take a look at the CoverflowExplorer sample. In that example the images are loaded from external files but you can of course use images from any source (assuming that WPF supports the image format of course). In particular look at the ItemsSource setting on the coverflow control in the sample and the converter which is used to convert the directory path to the image collection that becomes the effective ItemsSource. |
|
|
thank you.. it works for me now. it wasnt the itemsSource only, i had to set the ItemsTemplate too.
i do have another question: how do i set the position of the items - at the moment, they area appearing at the top of the control |
|
|
Hello At the moment there are no options for vertical positions of the items. What sort of layout are you wanting to achieve? If the height of the items are known, you could set the height of the Coverflow to be fixed and then set the position of the coverflow control itself. Regards |
|
|
if the window resizes, i want to resize the coverflow with its items too and still have the items in the middle of the control. thats what i wanted to achive.
so basically, i have to set the items height when resizing in order to have them "seem to be" in the center of the coverflow control, is that correct? |
|
|
btw thank you for your help so far :)
- Chris |
|
|
Hello Chris Yes, dynamically setting the height of the items as the size of the CoverFlow changes will keep the items centered. You can set the height of the items by setting the CoverFlow.ItemHeight property. You should also set the ItemWidth so the items don't appear stretched. Let me know if you achieve the desired effect. - Jason |
|
|
Hello Jason, I had no problem with the implenetation and setting the heigth solved the problem. Thanks for your effort and thank you for your help! - Chris |
|
|
No problem, good to hear it all worked out well. Regards |
|