Mình đang làm một phần mềm đọc báo:
Bây giờ mình muốn viết sự kiện cho TextBlock "Xem thêm..." kia thì khi tap vào thì sẽ sổ ra thêm 3 4 item nữa.
Liệu có thể thực hiện điều đó không ? hay bắt buộc phải tạo ra 1 trang khác ?
Nếu có thể thì xin mọi ng giúp đỡ
Mã:
<!--Panorama item two-->
<phone:PanoramaItem>
<StackPanel>
<phone:LongListSelector Margin="0,-38,-22,2" ItemsSource="{Binding lstBao}" Name="lstBao">
<phone:LongListSelector.ListHeaderTemplate>
<DataTemplate>
<Grid Margin="12,0,0,38">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="danh sách báo"
Style="{StaticResource PanoramaItemHeaderTextStyle}"
Grid.Row="0" Foreground="White"/>
</Grid>
</DataTemplate>
</phone:LongListSelector.ListHeaderTemplate>
<phone:LongListSelector.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="12,2,0,4" Height="105" Width="432" ManipulationStarted="lstBao_ManipulationStarted" ManipulationCompleted="lstBao_ManipulationCompleted" Tag="{Binding TenBao}">
<!--Replace rectangle with image-->
<Image Source="{Binding Icon}" Width="99" Height="99" />
<StackPanel Width="311" Margin="8,-7,0,0">
<TextBlock Text="{Binding TenBao}" TextWrapping="Wrap" Margin="10,0" Style="{StaticResource PhoneTextExtraLargeStyle}" FontSize="{StaticResource PhoneFontSizeLarge}" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="{Binding MotaBao}" TextWrapping="Wrap" Margin="10,-2,10,0" Style="{StaticResource PhoneTextSubtleStyle}" Foreground="White"/>
</StackPanel>
</StackPanel>
</DataTemplate>
</phone:LongListSelector.ItemTemplate>
</phone:LongListSelector>
<TextBlock Text="xem thêm..." Margin="12,0,0,0" FontSize="36" Foreground="White"/>
</StackPanel>
</phone:PanoramaItem>
View more random threads:
Hiện nay trên thị trường xuất hiện rất nhiều loại thuốc bôi tăng kích thước dương vật được lăng xê là có khả năng làm tăng kích cỡ dương vật của cánh mày râu. Tuy nhiên không phải loại thuốc nào cũng...
Thuốc tăng kích thước chim có tác...