2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 WindowTitle="News Client Sample"
5 x:Class="SDKSample.Page1"
8 <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
10 <!-- ************** Menu Options ******************* -->
12 <Menu Style="{StaticResource mainContentStyle}" Background="LightGray" HorizontalAlignment="Stretch" VerticalAlignment="Top">
13 <MenuItem Header="File">
14 <MenuItem Click="menuExit" Header="Exit"/>
15 <MenuItem Click="printPage" Header="Print"/>
19 <!-- ************** Header and Date Content ******************* -->
21 <Border Height="135" BorderBrush="Black" Background="White" BorderThickness="2" Margin="5" VerticalAlignment="Top">
23 <FlowDocumentScrollViewer VerticalScrollBarVisibility="Auto">
25 <Paragraph Style="{StaticResource TitleStyle}">Hello World Times</Paragraph>
26 <Paragraph Style="{StaticResource BylineStyle}">All the Lorem Ipsum that's fit to print</Paragraph>
28 </FlowDocumentScrollViewer>
29 <TextBlock Style="{StaticResource dateStyle}" Name="todayDate"/>
34 <!-- ************** Begin DocumentViewer Content ******************* -->
35 <Frame AllowDrop="True" Source="document.xaml" HorizontalAlignment="Stretch" Name="frame1" MinHeight="400" MaxHeight="600"/>
38 <!-- ************** Drag and Drop Stories ******************* -->
40 <StackPanel MinHeight="125" HorizontalAlignment="Center">
42 <TextBlock Style="{StaticResource mainContentStyle}">Click on a new story below in order to select it.</TextBlock>
44 <StackPanel Orientation="Horizontal">
46 <Image MouseLeftButtonDown="nav1" Name="img1" Source="images\story1.PNG" Margin="0,5,20,0"/>
47 <Image MouseLeftButtonDown="nav2" Name="img2" Source="images\story2.PNG" Margin="0,5,20,0"/>
48 <Image MouseLeftButtonDown="nav3" Name="img3" Source="images\story3.PNG" Margin="0,5,20,0"/>