daily pastebin goal
39%
SHARE
TWEET

MainPage.xaml

a guest Feb 27th, 2010 1,596 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <UserControl
  2.    x:Class="MaxTwitter.MainPage"
  3.    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4.    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5.    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  6.    xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
  7.    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8.    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
  9.  
  10.     <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">
  11.  
  12.         <Border x:Name="ContentBorder" Style="{StaticResource ContentBorderStyle}">
  13.  
  14.             <navigation:Frame x:Name="ContentFrame" Style="{StaticResource ContentFrameStyle}"
  15.                              Source="" Navigated="ContentFrame_Navigated" NavigationFailed="ContentFrame_NavigationFailed">
  16.                 <navigation:Frame.UriMapper>
  17.                     <uriMapper:UriMapper>
  18.                         <uriMapper:UriMapping Uri="" MappedUri="/Views/Login.xaml"/>
  19.                         <uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>
  20.                     </uriMapper:UriMapper>
  21.                 </navigation:Frame.UriMapper>
  22.             </navigation:Frame>
  23.         </Border>
  24.  
  25.         <Grid x:Name="NavigationGrid" Style="{StaticResource NavigationGridStyle}">
  26.  
  27.             <Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}">
  28.                 <StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
  29.  
  30.                     <ContentControl Style="{StaticResource LogoIcon}"/>
  31.                     <TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}"
  32.                               Text="Application Name"/>
  33.  
  34.                 </StackPanel>
  35.             </Border>
  36.             <Border x:Name="LinksBorder" Style="{StaticResource LinksBorderStyle}">
  37.                 <StackPanel x:Name="LinksStackPanel" Style="{StaticResource LinksStackPanelStyle}">
  38.                     <HyperlinkButton x:Name="Login" Style="{StaticResource LinkStyle}"
  39.                                     NavigateUri="/Login" TargetName="ContentFrame" Content="Login"/>
  40.                     <Rectangle x:Name="Divider1" Style="{StaticResource DividerStyle}"/>
  41.                     <HyperlinkButton x:Name="Link1" Style="{StaticResource LinkStyle}"
  42.                                     NavigateUri="/Home" TargetName="ContentFrame" Content="Home"/>
  43.                     <Rectangle x:Name="Divider2" Style="{StaticResource DividerStyle}"/>
  44.                     <HyperlinkButton x:Name="Link2" Style="{StaticResource LinkStyle}"
  45.                                     NavigateUri="/About" TargetName="ContentFrame" Content="About"/>
  46.                 </StackPanel>
  47.             </Border>
  48.         </Grid>
  49.     </Grid>
  50. </UserControl>
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