This is a migrated thread and some comments may be shown as answers.

Drag and Drop from Coverflow

4 Answers 114 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Mike Lee
Top achievements
Rank 1
Mike Lee asked on 04 Mar 2010, 06:25 PM
Hi, I am trying to drag a coverflow item from the coverflow list.  I am successful, but only after the coverflow item has been selected first.  So this is what currently happens:  I try to drag an item that is currently not selected.  That item flows to the middle, and is now selected.  Only when this item is selected(and centered), that I can start dragging it.  Is it possible to start dragging a coverflow item, even if it's not selected yet?  Here's a sample code of my coverflow item template:

            <telerikNavigation:RadCoverFlow.ItemTemplate> 
                <DataTemplate> 
                    <gadgets:DraggableGadget Height="110" Width="150"
                        <i:Interaction.Behaviors> 
                            <qab:TelerikDragAndDrop AllowDrag="True" /> 
                        </i:Interaction.Behaviors> 
                    </gadgets:DraggableGadget> 
                </DataTemplate> 
            </telerikNavigation:RadCoverFlow.ItemTemplate> 

Thanks for your help!

Mike
http://www.eikospartners.com

4 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 05 Mar 2010, 02:29 PM
Hi Mike,

 This happens, because we change the IsHitTestVisible property of the items that are not selected. What you need to do is to edit the control template of the RadCoverFlowItem and edit the states. The attached project demonstrates how this could be achieved.

Sincerely yours,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mike Lee
Top achievements
Rank 1
answered on 08 Mar 2010, 07:16 PM
Hi Miroslav,

The project you attached doesn't seem to be related to my problem.  Can you attach the template for the RadCoverFlowItem? Also, where can I find the template for RadCoverFlow?  I usually look in the Themes folder from the Telerik install.  I've also noticed that the OfficeBlack theme is not there.  Where would I find all these templates if I needed to modify any of them?  Thanks!

Mike
http://www.eikospartners.com
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 08 Mar 2010, 07:28 PM
Hello Mike,

 I'm sorry, I attached wrong project. I apologize for the caused inconvenience.  Please find the new attached file.

The easiest way to find the templates is to use Expression Blend - drag the control which template you need to modify, right-click it and choose "Edit Template"/"Edit a copy".

You could also find them in the themes (as you mentioned).

Greetings,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mike Lee
Top achievements
Rank 1
answered on 08 Mar 2010, 08:32 PM
This solution worked perfectly.  Thanks so much!

Mike
http://www.eikospartners.com
Tags
CoverFlow
Asked by
Mike Lee
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Mike Lee
Top achievements
Rank 1
Share this question
or