MouseLeftButtonDown Event not Firing.

2 posts, 0 answers
  1. Michael
    Michael avatar
    23 posts
    Member since:
    Mar 2009

    Posted 07 Mar 2010 Link to this post


    I have my RadCoverFlow items setup with a MouseLeftButtonDown event. I want to make some stuff happen when the user double clicks a cover flow item.

    This event though never fires. If I put the event in the CoverFlow itself the event will only fire when I click outside the bounds of the coverflowitem collection.




     <teknav:RadCoverFlowItem Height="100" Width="200" MouseLeftButtonDown="RadCoverFlowItem_MouseLeftButtonDown">  
       <Image Source="/images/flow/contact.png" Stretch="None"/>  
         <TextBlock Style="{StaticResource TextBasicStyle}" Text="Kate Austin"></TextBlock> 
         <TextBlock Style="{StaticResource TextBasicStyle}" Text="P.999-999-9999"></TextBlock> 
         <TextBlock Style="{StaticResource TextBasicStyle}" Text="C.999-999-9999"></TextBlock> 


  2. Hristo Borisov
    Hristo Borisov avatar
    298 posts

    Posted 08 Mar 2010 Link to this post

    Hello Michael,

    This is because your RadCoverFlowItem does not have a visual part to be clicked. Since you are using a StackPanel, your items are stacked inside the RadCoverFlowItem, and some parts of it are left without visual content. Make sure that you are actually clicking on the RadCoverFlowItem, for example you can set the background of the item to some distinct color in order to identify the visual presence of the item.

    You can take a look at our CoverFlow DataInfo examples that uses a special User Control to hold your template, and mouse click logic.

    If you have any other questions, please feel free to contact us again.

    Kind regards,
    Hristo Borisov
    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