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

Control CoverFlow navigation in code

5 Answers 58 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
lynn
Top achievements
Rank 1
lynn asked on 17 Apr 2011, 10:10 PM
Hi, I want the selected item to be controlled in my code only, not by the user clicking on items (e.g. as in a slide show). This can, of course, be accomplished by clearing IsHitTestVisible or IsEnabled on the entire CoverFlow control. But in the Content of each item I have an interactive UserControl which I want to be enabled for the selected item. If the CoverFlow's IsHitTestVisible is false, then the contained UserControl's also do not receive mouse events.

How can I disable interactive CoverFlow navigation while enabling user inputs on the UserControls in the item Content?

5 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 21 Apr 2011, 03:41 PM
Hi,

I have created an example project that handles input that may navigate the RadCoverFlow and a clear style for the RadCoverFlowItems. The buttons in the RadCoverFlowItems can now be clicked while navigation is disabled.

If you have further questions please do not hesitate to contact us again.

Regards,
Pana
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
lynn
Top achievements
Rank 1
answered on 21 Apr 2011, 08:13 PM
Hi Pana,

Thank-you for the example project; this is useful! My next question is, how can I assign mouse-event handlers for the RadCoverFlowItem's if my RadCoverFlow gets the items via ItemsSource binding? Would this be done in the Style for the ItemContainer?

regards,
lynn
0
Pana
Telerik team
answered on 27 Apr 2011, 01:41 PM
Hi,

You can put Images or Buttons in the RadCoverFlowItems and handle their Click or LeftMouseButtonDown events. As the RadCoverFlowItems themselves are fully transparent and handle the events I don't think you will be able to get the same events working for you.

Greetings,
Pana
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
lynn
Top achievements
Rank 1
answered on 27 Apr 2011, 06:48 PM
Hi Pana,

Thanks for your response. Meanwhile I was beginning to figure as much and I have implemented a workaround. Has the telerik team considered making the collection of RadCoverFlowItems available to the caller e.g. as a property of RadCoverFlow?

regards,
lynn
0
Pana
Telerik team
answered on 03 May 2011, 06:31 AM
Hi,

The RadCoverFlow is no different than any other ItemsControl so I do not think we will add such property. We will not implement other properties than the Items and ItemsSource.

Greetings,
Pana
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
Tags
CoverFlow
Asked by
lynn
Top achievements
Rank 1
Answers by
Pana
Telerik team
lynn
Top achievements
Rank 1
Share this question
or