|
<navigation:PhoneApplicationPage
x:Class="wp7RssReader.pgUpdateRss"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:navigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
SupportedOrientations="Portrait"
ApplicationBar="{StaticResource MenuAppBar}" Loaded="PhoneApplicationPage_Loaded">
<Grid x:Name="LayoutRoot" Background="{StaticResource PhoneBackgroundBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitleGrid is the name of the application and page title-->
<Grid x:Name="TitleGrid" Grid.Row="0" Background="#BB440099">
<TextBlock Text="wp7 Rss Reader" x:Name="textBlockPageTitle" Style="{StaticResource PhoneTextPageTitle1Style}"/>
<TextBlock Text="Update Rss" x:Name="textBlockListTitle" Style="{StaticResource PhoneTextPageTitle2Style}"/>
</Grid>
<!--ContentGrid is empty. Place new content here-->
<Grid x:Name="ContentGrid" Grid.Row="1">
<ListBox Name="lstItems" Margin="13,6,13,165" Foreground="White" Background="#3B1D00FF" BorderBrush="#FF7100C2" SelectionMode="Multiple">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel HorizontalAlignment="Stretch" Width="420" Background="Transparent">
<Border CornerRadius="5" BorderBrush="Purple" BorderThickness="2" Background="#3B1D00FF" HorizontalAlignment="Stretch">
<Grid>
<TextBlock Text="{Binding Description}" TextWrapping="Wrap" HorizontalAlignment="Stretch" Visibility="Visible">
</TextBlock>
</Grid>
</Border>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button Content="Update Selected Items" Height="70" HorizontalAlignment="Left" Margin="6,493,0,0" Name="button2" VerticalAlignment="Top" Width="468" Click="button2_Click"/>
</Grid>
</Grid>
</navigation:PhoneApplicationPage>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.