0

I'm trying to use ExpanderViewer with Binding, I followed this tutorial

now I need an event that fires on taping on one of the ExpanderViewer Items. is that possible?

Ateik
  • 2,458
  • 4
  • 39
  • 59

1 Answers1

1

I'm using this: <Controls:ExpanderView Expanded="ExpanderView_Expanded" />

And for every item separately you have to add the events in the datatemplate, for example:

<phone:PhoneApplicationPage.Resources>
    <DataTemplate x:Key="CustomHeaderTemplate">
            <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked"/>
            <TextBlock Text="{Binding Name}" FontSize="{StaticResource PhoneFontSizeExtraLarge}" FontFamily="{StaticResource PhoneFontFamilySemiLight}"/>
    </DataTemplate>
</phone:PhoneApplicationPage.Resources>
Igor Meszaros
  • 2,081
  • 2
  • 22
  • 46