title: ListBox.ItemTemplate with a custom control template inside DataTemplate
body: <p>I'm developing a Windows Phone application. I have defined a ListBox.ItemTemplate's DataTemplate as follows:</p>
  
  <pre><code>&lt;ListBox Margin="10,10,8,8" x:Name="ChoicesList"&gt;
    &lt;ListBox.ItemsPanel&gt;
      &lt;ItemsPanelTemplate&gt;
        &lt;StackPanel /&gt;
      &lt;/ItemsPanelTemplate&gt;
    &lt;/ListBox.ItemsPanel&gt;
    &lt;ListBox.ItemTemplate&gt;
      &lt;DataTemplate&gt;
        &lt;Grid x:Name="ListBoxItemLayout" Background="Transparent" Margin="10"&gt;
          &lt;Grid.ColumnDefinitions&gt;
            &lt;ColumnDefinition Width="0.281*"/&gt;
            &lt;ColumnDefinition Width="0.719*"/&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;Image Source="{Binding ImagePath}" Height="100"/&gt;
          &lt;StackPanel Margin="5,0,0,0" Grid.Column="1"&gt;
            &lt;TextBlock x:Name="Name" TextWrapping="Wrap" Text="{Binding Name}" Style="{StaticResource PhoneTextTitle3Style}"/&gt;
            &lt;TextBlock x:Name="Description" Margin="0,5,0,0" TextWrapping="Wrap" Text="{Binding Description}" d:LayoutOverrides="Width" Style="{StaticResource PhoneTextSmallStyle}"/&gt;
            &lt;TextBlock x:Name="Rating" TextWrapping="Wrap" Text="{Binding Rating}" /&gt;
          &lt;/StackPanel&gt;
        &lt;/Grid&gt;
      &lt;/DataTemplate&gt;
    &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>I want to convert all the content inside the ListBoxItem as a Control because I want to add a Click event to it.</p>
  
  <p>How can I do this?</p>
  
  <p>Thank you.</p>