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

Jumplist with a button

1 Answer 20 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Derek
Top achievements
Rank 1
Derek asked on 11 Feb 2012, 06:20 AM
How do you make the JumpList fire a different event if an Image in the ItemTemplate is tapped vs the the rest of the row?  Say that 50% of the row is an image and the other 50% is text. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 13 Feb 2012, 09:05 AM
Hi Derek,

You can simply handle the ManipulationCompleted event of the corresponding visual element in the DataTemplate for the item. Something like this:

<telerikPrimitives:RadDataBoundListBox.ItemTemplate>
    <DataTemplate>
        <Grid Margin="0, 8, 0, 8" MaxWidth="144">
            <Image Grid.Row="0" ManipulationCompleted="DataTemplate_ImageManipulationCompleted" Source="{Binding Bitmap}" Stretch="None" Width="80" Height="80"/>
        </Grid>
    </DataTemplate>
</telerikPrimitives:RadDataBoundListBox.ItemTemplate>

I hope this helps.

Regards,
Deyan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
JumpList
Asked by
Derek
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or