<phone:Pivot x:Name="pvtDeals" Background="Gray" itemsSource="{Binding CityList}" > <phone:Pivot.ItemTemplate> <DataTemplate> <Grid > <Grid.RowDefinitions> <RowDefinition Height="200"/> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Image x:Name="imgDeal" Tag="0" Source="{Binding ImageLink}" Stretch="Uniform" HorizontalAlignment="Stretch" Tap="imgDeal_Tap" /> <TextBlock Foreground="Red" Text="{Binding Title}" Grid.Row="1" TextWrapping="Wrap"/> <ScrollViewer Grid.Row="2"> <TextBlock Foreground="Black" Text="{Binding Description}" TextWrapping="Wrap" Grid.Row="2"/> </ScrollViewer> </Grid> </DataTemplate> </phone:Pivot.ItemTemplate> </phone:Pivot>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)