Control CoverFlow navigation in code

6 posts, 0 answers
  1. lynn
    lynn avatar
    4 posts
    Member since:
    Mar 2011

    Posted 17 Apr 2011 Link to this post

    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?
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 21 Apr 2011 Link to this post

    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
  3. DevCraft banner
  4. lynn
    lynn avatar
    4 posts
    Member since:
    Mar 2011

    Posted 21 Apr 2011 Link to this post

    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
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 27 Apr 2011 Link to this post

    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
  6. lynn
    lynn avatar
    4 posts
    Member since:
    Mar 2011

    Posted 27 Apr 2011 Link to this post

    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
  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 03 May 2011 Link to this post

    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
Back to Top
DevCraft banner