Created
April 7, 2015 07:56
-
-
Save IranthaJ/f8779cc946cacc4b500b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <StackPanel> | |
| <ComboBox SelectedItem="{Binding Item}" ItemsSource="{Binding itemList}" | |
| Margin="105,56,52,0" Height="27" SelectionChanged="ComboBox_SelectionChanged"> | |
| <ComboBox.ItemTemplate> | |
| <DataTemplate> | |
| <TextBlock Text="{Binding Name}"/> | |
| </DataTemplate> | |
| </ComboBox.ItemTemplate> | |
| </ComboBox> | |
| <ListView Name="VitaminsListView" SelectedItem="{Binding SubItem}" | |
| ItemsSource="{Binding subItemList}" HorizontalAlignment="Left" | |
| Height="201" Margin="105,50,0,0" VerticalAlignment="Top" Width="283"> | |
| <ListView.View> | |
| <GridView> | |
| <GridViewColumn Width="100" Header="ID" DisplayMemberBinding="{Binding subItemID}"/> | |
| <GridViewColumn Header="Vitamins" DisplayMemberBinding="{Binding SubName}"/> | |
| </GridView> | |
| </ListView.View> | |
| </ListView> | |
| </StackPanel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment