Answered by:
How come value of each items out on listview into hubsection?

Question
-
there are :
<HubSection> <DataTemplate> <ListView x:Name="lsteffort" ItemsSource="{Binding Source={StaticResource parteffort}}">
<Page.Resources> <CollectionViewSource x:Name="parteffort"></CollectionViewSource> </Page.Resources>
The first is as Title.
The second is how to count all items of listbox into hubsection?
- Edited by Le Thien Hoang Saturday, April 4, 2015 9:32 AM
Saturday, April 4, 2015 6:47 AM
Answers
-
Can you post full code in here?
- Marked as answer by Le Thien Hoang Monday, April 6, 2015 1:21 PM
- Unmarked as answer by Le Thien Hoang Monday, April 6, 2015 11:34 PM
- Marked as answer by Le Thien Hoang Monday, April 6, 2015 11:34 PM
Monday, April 6, 2015 12:12 PM
All replies
-
Can you post full code in here?
- Marked as answer by Le Thien Hoang Monday, April 6, 2015 1:21 PM
- Unmarked as answer by Le Thien Hoang Monday, April 6, 2015 11:34 PM
- Marked as answer by Le Thien Hoang Monday, April 6, 2015 11:34 PM
Monday, April 6, 2015 12:12 PM -
<Page.Resources>
<CollectionViewSource x:Name="partdictionaries"></CollectionViewSource>
<CollectionViewSource x:Name="parteffort"></CollectionViewSource>
<CollectionViewSource x:Name="partvoa"></CollectionViewSource>
<CollectionViewSource x:Name="partgammar"></CollectionViewSource>
<CollectionViewSource x:Name="partbookmark"></CollectionViewSource>
<CollectionViewSource x:Name="partwordineveryday"></CollectionViewSource>
<CollectionViewSource x:Name="partblog"></CollectionViewSource>
<CollectionViewSource x:Name="partnewword"></CollectionViewSource>
<CollectionViewSource x:Name="comboviewunit"></CollectionViewSource>
<CollectionViewSource x:Name="comblevel"></CollectionViewSource>
<CollectionViewSource x:Name="combcountallsongs"></CollectionViewSource>
</Page.Resources>
<HubSection x:Name="hubdictionaries"> <HubSection.Header> <TextBlock Text="Dictionaries" FontWeight="Medium" FontSize="20" Foreground="#00AAFF"></TextBlock> </HubSection.Header> <DataTemplate> <ListView ItemsSource="{Binding Source={StaticResource partdictionaries}}"> <ListView.ItemsPanel> <ItemsPanelTemplate> <WrapGrid Orientation="Vertical"> </WrapGrid> </ItemsPanelTemplate> </ListView.ItemsPanel> <ListView.ItemTemplate> <DataTemplate> <Grid Width="200"> <Grid.RowDefinitions> <RowDefinition Height="130"></RowDefinition> <RowDefinition Height="40"></RowDefinition> </Grid.RowDefinitions> <Grid Grid.Row="0" Background="#e3e3e3"> <Image Source="{Binding thumb50}" Width="40" Height="40" VerticalAlignment="Center" HorizontalAlignment="Center"></Image> </Grid> <Grid Grid.Row="1" Background="White"> <StackPanel Margin="5"> <TextBlock Text="{Binding name}" Foreground="Black" FontSize="13" VerticalAlignment="Center" HorizontalAlignment="Left"></TextBlock> </StackPanel> </Grid> </Grid> </DataTemplate> </ListView.ItemTemplate> </ListView> </DataTemplate> </HubSection>
- Edited by Le Thien Hoang Monday, April 6, 2015 1:24 PM
Monday, April 6, 2015 1:24 PM -
I want get data when selected on listview inside hubsecion.Monday, April 6, 2015 2:52 PM