<Window x:Class="BlogInto_win7.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="BlogInto" Height="350" Width="590" Loaded="Window_Loaded"
FontFamily="Arial" Initialized="Window_Initialized"
Icon="..\Resources\bloginto-ico.ico">
<Window.TaskbarItemInfo>
<TaskbarItemInfo x:Name="BlogIntoTakbar"
Description="BlogInto"
ProgressState="None"
ProgressValue="0">
<TaskbarItemInfo.ThumbButtonInfos>
<ThumbButtonInfo x:Name="previous"
Click="previous_Click"
Description="Previous"
ImageSource="..\Resources\previous.ico"/>
<ThumbButtonInfo x:Name="browseFeed"
Description="Open the feed in the browser"
Click="browseFeed_Click"
ImageSource="..\Resources\browse.png"/>
<ThumbButtonInfo x:Name="next"
Click="next_Click"
Description="Next"
ImageSource="..\Resources\next.ico"/>
</TaskbarItemInfo.ThumbButtonInfos>
</TaskbarItemInfo>
</Window.TaskbarItemInfo>
<Grid Margin="10,0,5,5" ShowGridLines="True">
<Grid.RowDefinitions>
<RowDefinition Height="32*"/>
<RowDefinition Height="2"/>
<RowDefinition Height="58*"/>
<RowDefinition Height="15*"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Margin="0,0,0,5" TextOptions.TextFormattingMode="Ideal">
<TextBlock Name="FeedTitle" Foreground="Blue" TextTrimming="CharacterEllipsis" FontStretch="ExtraExpanded" FontSize="36"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="75*"/>
<ColumnDefinition Width="15*"/>
<ColumnDefinition Width="10*"/>
</Grid.ColumnDefinitions>
<Viewbox Stretch="Uniform" HorizontalAlignment="Left" Height="45" Grid.Column="0">
<TextBlock Name="FeedAuthor" Foreground="#FF9D918F"/>
</Viewbox>
<TextBlock Grid.Column="1" Foreground="#FFFF2600" FontSize="28" Margin="0,18,5,0">Votes:</TextBlock>
<Viewbox Stretch="Uniform" HorizontalAlignment="Left" Grid.Column="2" Height="55">
<TextBlock Name="FeedVotes" Foreground="#FFFF2600"/>
</Viewbox>
</Grid>
</StackPanel>
<TextBlock Grid.Row="1" Background="Black" HorizontalAlignment="Stretch" TextWrapping="WrapWithOverflow"/>
<Viewbox Grid.Row="2">
<TextBlock Name="NetworkError" Foreground="Red" TextWrapping="Wrap" FontStyle="Italic" Visibility="Hidden">Please check your network connection</TextBlock>
</Viewbox>
<TextBlock Name="FeedDescription" Grid.Row="2" TextWrapping="WrapWithOverflow" TextTrimming="CharacterEllipsis" FontSize="38"
TextOptions.TextFormattingMode="Display" Margin="0,10,0,10"/>
<TextBlock Name="FeedDate" FontSize="32" Grid.Row="3" Margin="0,5,0,0" Foreground="#FF414141" TextOptions.TextFormattingMode="Ideal"/>
<Viewbox Stretch="Uniform" Grid.Row="3" HorizontalAlignment="Right" TextOptions.TextFormattingMode="Ideal">
<TextBlock Name="FeedRank" Foreground="#FF414141" />
</Viewbox>
</Grid>
</Window>