StartPageSample.xaml
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:12k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. <Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
  2.     <Grid>
  3.         <Grid.RowDefinitions>
  4.             <RowDefinition Height="Auto"/>
  5.             <RowDefinition Height="*"/>
  6.         </Grid.RowDefinitions>
  7.         
  8.         <Border Grid.Row="0" BorderBrush="White" BorderThickness="0, 0, 0, 1">
  9.             <Border.Background>
  10.                 <LinearGradientBrush StartPoint="0, 0" EndPoint="1, 0">
  11.                     <GradientStop Offset="0" Color="#1b5d98"/>
  12.                     <GradientStop Offset="0.5" Color="#3383c2"/>
  13.                     <GradientStop Offset="1" Color="#1b5d98"/>
  14.                 </LinearGradientBrush>
  15.             </Border.Background>
  16.             <StackPanel Margin="40, 15, 20, 7" TextBlock.FontFamily="Sergoe UI">
  17.                 <TextBlock FontSize="12" Foreground="White"><Run>Microsoft</Run><Run FontSize="10" BaselineAlignment="Top">&#xae;</Run></TextBlock>
  18.                 <TextBlock Margin ="0, -6, 0, 0"  FontSize="33" Foreground="White"><Run>Visual Studio</Run><Run FontSize="15" BaselineAlignment="Superscript">&#xae;</Run> <Run>Team System</Run> <Run FontSize="25">2008</Run></TextBlock>
  19.             </StackPanel>
  20.             
  21.         </Border>
  22.         <Border Grid.Row="1" BorderBrush="White" BorderThickness="0, 0, 0, 1">
  23.             <Border.Background>
  24.                 <LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
  25.                     <GradientStop Offset="0" Color="#699cd2"/>
  26.                     <GradientStop Offset="1" Color="#eaf3fd"/>
  27.                 </LinearGradientBrush>
  28.             </Border.Background>
  29.             <Grid>
  30.                 <Grid.ColumnDefinitions>
  31.                    <ColumnDefinition Width="Auto"/>
  32.                    <ColumnDefinition Width="*"/>
  33.                 </Grid.ColumnDefinitions>
  34.                 <Grid Width="250" Margin="15, 15, 15, 15">
  35.                     <Grid.RowDefinitions>
  36.                         <RowDefinition Height="*" MinHeight="140"/>
  37.                         <RowDefinition Height="*" MinHeight="120"/>
  38.                         <RowDefinition Height="*"/>
  39.                     </Grid.RowDefinitions>
  40.                     
  41.                     <Border  Margin="0, 5, 0, 5" Background="White" BorderBrush="#16538c" BorderThickness="2">
  42.                         <Grid>
  43.                             <Grid.RowDefinitions>
  44.                                 <RowDefinition Height="Auto"/>
  45.                                 <RowDefinition Height="*"/>
  46.                                 <RowDefinition Height="Auto"/>
  47.                             </Grid.RowDefinitions>
  48.                             <Border Margin="4, -6, 4, 0" BorderThickness="2" BorderBrush="#16538c">
  49.                                 <Border.Background>
  50.                                     <LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
  51.                                         <GradientStop Offset="0" Color="#519bdd"/>
  52.                                         <GradientStop Offset="1" Color="#155094"/>
  53.                                     </LinearGradientBrush>
  54.                                 </Border.Background>
  55.                                 <TextBlock Margin="4" Foreground="White" FontWeight="Bold">Recent Projects</TextBlock>
  56.                             </Border>
  57.                             
  58.                             <StackPanel  Grid.Row="1" Margin="10">
  59.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand">1. WPP Application</Run></TextBlock>
  60.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand">2. MFC Application</Run></TextBlock>
  61.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand">3. Ribbon Sample</Run></TextBlock>
  62.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand">4. Windows Forms Application</Run></TextBlock>
  63.                             </StackPanel>
  64.                             <Grid Grid.Row="2" Margin="10, 0, 10, 10">
  65.                                 <Grid.RowDefinitions>
  66.                                     <RowDefinition />
  67.                                     <RowDefinition/>
  68.                                 </Grid.RowDefinitions>
  69.                                 <Grid.ColumnDefinitions>
  70.                                     <ColumnDefinition />
  71.                                     <ColumnDefinition />
  72.                                 </Grid.ColumnDefinitions>
  73.                                 
  74.                                 <TextBlock Grid.Row="0">Open:</TextBlock>
  75.                                 <TextBlock  Grid.Row="1">Create:</TextBlock>
  76.                                 <TextBlock Grid.Row="0" Grid.Column="1" Foreground="#2f719c" Cursor="Hand">Project...</TextBlock>
  77.                                 <TextBlock  Grid.Row="1" Grid.Column="1" Foreground="#2f719c" Cursor="Hand">Project...</TextBlock>
  78.                             </Grid>
  79.                             
  80.                         </Grid>
  81.                     </Border>
  82.                     <Border Grid.Row="1" Margin="0, 5, 0, 5" Background="White" BorderBrush="#16538c" BorderThickness="2">
  83.                         <Grid>
  84.                             <Grid.RowDefinitions>
  85.                                 <RowDefinition Height="Auto"/>
  86.                                 <RowDefinition Height="*"/>
  87.                             </Grid.RowDefinitions>
  88.                             <Border Margin="4, -6, 4, 0" BorderThickness="2" BorderBrush="#16538c">
  89.                                 <Border.Background>
  90.                                     <LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
  91.                                         <GradientStop Offset="0" Color="#519bdd"/>
  92.                                         <GradientStop Offset="1" Color="#155094"/>
  93.                                     </LinearGradientBrush>
  94.                                 </Border.Background>
  95.                                 <TextBlock Margin="4" Foreground="White" FontWeight="Bold">Getting Started</TextBlock>
  96.                             </Border>
  97.                             
  98.                             <StackPanel  Grid.Row="1" Margin="10">
  99.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">What's new in Visual Studio 2008?</Run></TextBlock>
  100.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">Samples and Walkthroughs</Run></TextBlock>
  101.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">Use a Starter Kit</Run></TextBlock>
  102.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">New Project From Existing Code...</Run></TextBlock>
  103.                                 <TextBlock TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">How do I... ?</Run></TextBlock>
  104.                             </StackPanel>
  105.                         </Grid>
  106.                     </Border>
  107.                     <Border Grid.Row="2" Margin="0, 5, 0, 5" Background="White" BorderBrush="#16538c" BorderThickness="2">
  108.                         <Grid>
  109.                             <Grid.RowDefinitions>
  110.                                 <RowDefinition Height="Auto"/>
  111.                                 <RowDefinition Height="*"/>
  112.                             </Grid.RowDefinitions>
  113.                             <Border Margin="4, -6, 4, 0" BorderThickness="2" BorderBrush="#16538c">
  114.                                 <Border.Background>
  115.                                     <LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
  116.                                         <GradientStop Offset="0" Color="#519bdd"/>
  117.                                         <GradientStop Offset="1" Color="#155094"/>
  118.                                     </LinearGradientBrush>
  119.                                 </Border.Background>
  120.                                 <TextBlock Margin="4" Foreground="White" FontWeight="Bold">Visual Studio Headlines</TextBlock>
  121.                             </Border>
  122.                             
  123.                             <TextBlock Margin="10" Grid.Row="1" FontWeight="Bold" TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">Window Vista SP1 Release Candidate Now Available to MSDN Subscribers</Run></TextBlock>
  124.                         </Grid>
  125.                     </Border>
  126.                 </Grid>
  127.                 <Border Grid.Column="1" Margin="0, 20, 15, 20" Background="White" BorderBrush="#16538c" BorderThickness="2">
  128.                     <Grid>
  129.                         <Grid.RowDefinitions>
  130.                             <RowDefinition Height="Auto"/>
  131.                             <RowDefinition Height="*"/>
  132.                         </Grid.RowDefinitions>
  133.                         <Border Margin="4, -6, 4, 0" BorderThickness="2" BorderBrush="#16538c">
  134.                             <Border.Background>
  135.                                 <LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
  136.                                     <GradientStop Offset="0" Color="#519bdd"/>
  137.                                     <GradientStop Offset="1" Color="#155094"/>
  138.                                 </LinearGradientBrush>
  139.                             </Border.Background>
  140.                             <TextBlock Margin="4" Foreground="White" FontWeight="Bold">Visual Studio Developer News</TextBlock>
  141.                         </Border>
  142. <ScrollViewer Grid.Row="1" Margin="10">
  143.                         <StackPanel  >
  144.                             <TextBlock FontWeight="Bold" TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">Give Us Your Feedback on Visual Studio Documentation</Run></TextBlock>
  145.                             <TextBlock TextWrapping="Wrap">Wed, 17 Oct 2007 14:55:29 -0700 - Help us help you by taking 10 minutes to fill out our Visual Studio Content Survey on how to improve the Visual Studio documentation. We appreciate it!</TextBlock>
  146.                             <TextBlock Margin="0, 9, 0, 0" FontWeight="Bold" TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">Soma's Blog: Tell Us What You'd Like to See in Future Versions of Visual C++</Run></TextBlock>
  147.                             <TextBlock TextWrapping="Wrap">Thu, 30 Aug  2007 14:55 29 -0700 - Developer Division VP. S. Somasegar talks about what's coming up in future editions of Visual C++ and invites your input.</TextBlock>
  148.                             <TextBlock Margin="0, 9, 0, 0" FontWeight="Bold" TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">"Refactor! For Visual C++ 2005" Access Page</Run></TextBlock>
  149.                             <TextBlock TextWrapping="Wrap">Fri, 24 Aug 2007 00:54:02 +0000 - Refactor! for Visual C++ 2005 is a free plug-in from Developer Express Inc., in partnership with Microsoft, that enables Visual C++  developers to simplify and re-structure source code inside of Visual Studio 2005.</TextBlock>
  150.                             <TextBlock Margin="0, 9, 0, 0" FontWeight="Bold" TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">An Inside Look At The Next Generation Of Visual C++</Run></TextBlock>
  151.                             <TextBlock TextWrapping="Wrap">Sat, 2 Jun 2007 00:54 02 +0000 - Tarek Madkour shows C++ developers how to take full advantage of the new capabilities in Windows Vista with Visual Studio 2008.</TextBlock>
  152.                             <TextBlock Margin="0, 9, 0, 0" FontWeight="Bold" TextWrapping="Wrap"><Run Cursor="Hand" Foreground="#2f719c">Introduction to the Visual C++ Annotated Travel Log Starter Kit</Run></TextBlock>
  153.                             <TextBlock TextWrapping="Wrap">Fri,26 May 2006 00:56 45 +0000 - Thinking about a road trip this summer? The Visual C++ Annotated Travel Log Starter Kit is a travel planning and tracking application that comes ready to compile and run.</TextBlock>
  154.                         </StackPanel>
  155. </ScrollViewer>
  156.                     </Grid>
  157.                 </Border>
  158.             </Grid>
  159.         </Border>
  160.     </Grid>
  161. </Page>