SHARE
TWEET

Untitled

a guest Oct 7th, 2014 257 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!--Flipview-->
  2.  
  3. <FlipView  x:Name="ArticleDetail" Grid.Row="1" AutomationProperties.AutomationId="ItemsFlipView" AutomationProperties.Name="Item Details" TabIndex="1"
  4.              DataContext="{Binding LatestArticlesModel}"
  5.              ItemsSource="{Binding Items}"
  6.              ItemTemplate="{StaticResource LatestArticles1DetailDetail}"
  7.              SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
  8.              ItemContainerStyle="{StaticResource FlipItemStyle}">
  9. </FlipView>
  10.  
  11. <!--Data template for flipview-->
  12. <DataTemplate x:Key="LatestArticles1DetailDetail">
  13.       <ScrollViewer>
  14.         <StackPanel>
  15.             <TextBlock Margin="0,16" Text="{Binding Title, Converter={StaticResource TextPlainConverter}, ConverterParameter = 140}" Style="{StaticResource SubHeaderText}" />
  16.             <Image Source="{Binding ImageUrl, Converter={StaticResource ThumbnailConverter}, ConverterParameter=300}" Stretch="UniformToFill" />
  17.           <TextBlock x:Name="FeedUrl" Margin="0,12"  Style="{StaticResource Html2XamlStyleText}"
  18.             Text="{Binding FeedUrl}" Visibility="Collapsed"/>
  19.           <RichTextBlock x:Name="Content" Margin="0,12"  Style="{StaticResource Html2XamlStyle}"/>
  20.             </StackPanel>
  21.         </ScrollViewer>
  22. </DataTemplate>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top