Hi,
I have one usercontrol where am showing the main categories as buttons from the database. By clicking on Main Category button, a new user control is getting opened with list of items in that respective category clicked. I am binding the Item Names of that category in a xaml using TexbBlock and also am showing the checkboxes with each Items to select. I want to get the values of checkboxes after selecting them and clicking on the Done button. Checkbox values should be the items ID in the database. How to get the selected checkbox values.
Here is the xaml for the same:
<!--<Button Content="{Binding CategoryName}" Margin="5"/>-->
<TextBlock Text="{Binding SubCategoryName}" HorizontalAlignment="Center" VerticalAlignment="Top" />
<CheckBox Grid.Row="3" />
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
Kindly suggest?
Thanks,
Tarun