<UserControl x:Class="Hanray.Azurelight.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" xmlns:dg="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:app="clr-namespace:Hanray.Azurelight.Service" Loaded="MainPage_Loaded"> <Grid x:Name="LayoutRoot" Background="{StaticResource ApplicationBackgroundColorBrush}"> <Grid Style="{StaticResource NavigationContainerStyle}"> <Border Style="{StaticResource NavigationBorderStyle}"> <StackPanel Style="{StaticResource NavigationPanelStyle}"> <Button Click="NavButton_Click" Tag="/Views/HomePage.xaml" Content="home" Style="{StaticResource PageLinkStyle}"/> <Button Click="NavButton_Click" Tag="/Views/AboutPage.xaml" Content="about" Style="{StaticResource PageLinkStyle}"/> </StackPanel> </Border> <Border Style="{StaticResource BrandingBorderStyle}"> <StackPanel Style="{StaticResource BrandingPanelStyle}"> <!--<TextBlock Text="your." Style="{StaticResource BrandingTextNormalStyle}"/> <TextBlock Text="application." Style="{StaticResource BrandingTextHighlightStyle}"/> <TextBlock Text="name" Style="{StaticResource BrandingTextNormalStyle}"/>--> <Button Click="NavButton_Click" Tag="/Views/Feedback.xaml" Content="Feedback" Style="{StaticResource PageLinkStyle}"/> <Button Click="onNavigateToURL" Tag="http://www.codeproject.com/KB/silverlight/Azurelight.aspx" Content="Article" Style="{StaticResource PageLinkStyle}"/> <Button Click="onNavigateToURL" Tag="mailto:modestyZ@hotmail.com?subject=About Building a 3-Tier App with Silverlight 3, .NET RIA Services and Azure Table Storage" Content="Contact" Style="{StaticResource PageLinkStyle}"/> </StackPanel> </Border> </Grid> <Border Style="{StaticResource FrameContainerStyle}"> <Border Style="{StaticResource FrameInnerBorderStyle}"> <navigation:Frame x:Name="navFrame" Source="{Binding Path=TopFrameSource}" Navigated="navFrame_Navigated" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Padding="15,10,15,10" Background="White"/> </Border> </Border> </Grid> </UserControl>
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.
This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)