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

对话框与窗口

开发平台:

Visual C++

  1. <Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
  2. <Page.Resources>
  3. <Style x:Key="{x:Type Hyperlink}" TargetType="Hyperlink">
  4. <Setter Property="Foreground" Value="#0033cc"/>
  5. </Style>
  6. </Page.Resources>
  7.     <ScrollViewer TextBlock.FontSize="12" TextBlock.FontQuality="ClearType">
  8.         <Border Margin="18" BorderBrush="#999999" BorderThickness="1" MaxWidth="680" VerticalAlignment="Top">
  9.             <StackPanel Margin="1">
  10.                 <Border Background="#24849c" Padding="4">
  11.                     <TextBlock HorizontalAlignment="Right" Foreground="White" FontSize="10">
  12.                         <Hyperlink Foreground="White">Windows Home</Hyperlink> | 
  13.                         <Hyperlink Foreground="White">Secutity</Hyperlink> | 
  14.                         <Hyperlink Foreground="White">Support</Hyperlink> | 
  15.                         <Hyperlink Foreground="White">Unsubscribe</Hyperlink>
  16.                     </TextBlock>
  17.                 </Border>
  18.                 <Border Padding="4, 0, 10, 4">
  19.                     <Border.Background>
  20.                         <LinearGradientBrush StartPoint="0, 0" EndPoint="0, 1">
  21.                             <GradientStop Offset="0" Color="#7fbcd9"/>
  22.                             <GradientStop Offset="0.5" Color="#3a95b4"/>
  23.                             <GradientStop Offset="1" Color="#24849c"/>
  24.                         </LinearGradientBrush>
  25.                     </Border.Background>
  26.                     <StackPanel>
  27.                         <TextBlock HorizontalAlignment="Right" Foreground="White" FontSize="43" FontFamily="Segoe UI" Text="Exploring Windows"/>
  28.                         <TextBlock HorizontalAlignment="Right" Foreground="White" Text="Volume 88"/>
  29.                         <TextBlock HorizontalAlignment="Right" Foreground="White" Text="December 18, 2007"/>
  30.                     
  31.                     </StackPanel>
  32.                 </Border>
  33.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 10" FontSize="10">
  34.                     <Italic>Exploring Windows</Italic> brings you tips, tricks, downloads, and updates to help you get the most out of Windows. Was this newsletter forwarded to you? 
  35.                     <Hyperlink>Subscribe to Exploring Windows.</Hyperlink> 
  36.                 </TextBlock>
  37.  <Grid>
  38.                     <Grid.ColumnDefinitions>
  39.                         <ColumnDefinition Width="Auto"/>
  40.                         <ColumnDefinition Width="*"/>
  41.                     </Grid.ColumnDefinitions>
  42. <Border Grid.Column = "0" Margin="25, 10, 10, 10" Background="#bbccdd" VerticalAlignment="Top">
  43. <TextBlock FontFamily="Wingdings" FontSize="170" Foreground="#962e25" Padding="30, 0, 30, 0">&#x43;</TextBlock>
  44. </Border>
  45.                     <StackPanel Grid.Column = "1">
  46.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 10" >
  47.                     <Run FontSize="16" FontWeight="Bold">Get the perfect PC present</Run>
  48.                     <LineBreak/>
  49.                     Whether you're buying a new PC for someone else or looking for cool accessories, get what you need to make the holidays bright.
  50.                 </TextBlock>
  51.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 10" >
  52.                     <Run FontWeight="Bold">Have a fantastic PC</Run>
  53.                     <LineBreak/><Run Foreground="#3c63d9" FontWeight="Bold">&#xbb;</Run> <Hyperlink>Enhance your PC experience for free. See how.</Hyperlink>
  54.                     <LineBreak/><Run Foreground="#3c63d9" FontWeight="Bold">&#xbb;</Run> <Hyperlink>See cool new PCs designed specifically for Windows Vista</Hyperlink>
  55.                     <LineBreak/><Run Foreground="#3c63d9" FontWeight="Bold">&#xbb;</Run> <Hyperlink>Check out SeniorPCs--PCs specifically geared for easier senior living</Hyperlink>
  56.                     
  57.                 </TextBlock>
  58.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 10" >
  59.                     <Run FontWeight="Bold">Take advantage of special offers</Run>
  60.                     <LineBreak/><Run Foreground="#3c63d9" FontWeight="Bold">&#xbb;</Run> <Hyperlink>Shop safer and enter to win a $10,000 shopping spree</Hyperlink>
  61.                     <LineBreak/><Run Foreground="#3c63d9" FontWeight="Bold">&#xbb;</Run> <Hyperlink>50% off ALL PC download games on MSN (limited-time offer)</Hyperlink>
  62.                     <LineBreak/><Run Foreground="#3c63d9" FontWeight="Bold">&#xbb;</Run> <Hyperlink>Enter to win Certified for Windows Vista products (expires Dec. 31)</Hyperlink>                    
  63.                 </TextBlock>
  64. </StackPanel>
  65. </Grid>
  66.                 <Grid Margin="0, 20, 0, 0">
  67.                     <Grid.ColumnDefinitions>
  68.                         <ColumnDefinition Width="*"/>
  69.                         <ColumnDefinition Width="180"/>
  70.                     </Grid.ColumnDefinitions>
  71.                     <StackPanel>
  72.                  <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 0" >
  73.                     <Run FontWeight="Bold" FontSize="14">What's new</Run>
  74.                     <LineBreak/><Hyperlink FontWeight="Bold" >Free holiday ringtones and wallpapers </Hyperlink>
  75.                     <LineBreak/>Get in the holiday mood with these cool new ringtones and wintry wallpapers for your Windows Mobile phone.
  76.                 </TextBlock>
  77.                         <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 10" >
  78.                     <Hyperlink FontWeight="Bold" >The world's first "stay-at-home" server </Hyperlink>
  79.                     <LineBreak/>Organize, share, and protect your family's documents, photos, videos, and music with Windows Home Server. Learn more and explore a home connected by this new software room by room.
  80.                 </TextBlock>
  81.                         <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 10" >
  82.                     <Hyperlink FontWeight="Bold" >New Microsoft hardware for work and play</Hyperlink>
  83.                     <LineBreak/>The <Hyperlink>Wireless Entertainment Desktop 7000</Hyperlink> with rechargeable mouse delivers top-notch performance from up to 30 feet away. The <Hyperlink>Mobile Memory Mouse 8000</Hyperlink> is also a fully functional 1-GB flash drive, so you can use it to store and transfer files.
  84.                 </TextBlock>
  85.                     </StackPanel>
  86.                     
  87.                     <StackPanel Grid.Column="1">
  88.                         <Border Background="#e1f6ff" Padding="5, 5, 5, 15">
  89.                             <TextBlock>
  90.                                 <Bold>Windows websites</Bold>
  91.                                 <LineBreak/><Hyperlink>Windows Vista</Hyperlink>
  92.                                 <LineBreak/><Hyperlink>Windows XP</Hyperlink>
  93.                                 <LineBreak/><Hyperlink>Earlier Windows versions</Hyperlink>
  94.                             </TextBlock>
  95.                             
  96.                         </Border>
  97.                         <Border Background="#c5e5f6" Padding="5, 5, 5, 15">
  98.                             <TextBlock TextWrapping="Wrap">
  99.                                 <Bold>Technical troubleshooter</Bold> 
  100.                                 <LineBreak/><LineBreak/><Bold>Problem:</Bold>  You want to use the Disk Cleanup tool in Windows XP to improve your PC's performance, but you aren't sure how.
  101.                                 
  102.                                 <LineBreak/><LineBreak/><Bold>Solution:</Bold> Find out how Disk Cleanup works and how to use it to remove files, Windows components, programs, and more. 
  103.                             </TextBlock>
  104.                         </Border>
  105.                     </StackPanel>
  106.                 </Grid>
  107.                 
  108.                 <Rectangle Margin="25, 10, 10, 10" Fill="#cccccc" Height="1"/>
  109.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 0">
  110.                     <Run FontWeight="Bold" FontSize="14">Tips and tricks</Run>
  111. <LineBreak/> <Run FontWeight="Bold" FontSize="13">For Windows Vista</Run>
  112.                     <LineBreak/><Hyperlink FontWeight="Bold" >Burn your holiday videos to DVD </Hyperlink>
  113.                     <LineBreak/>Once you've shot your holiday videos, share them by creating a DVD in Windows DVD Maker, a cool feature in Windows Vista Home Premium and Windows Vista Ultimate. 
  114.                 </TextBlock>
  115.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 0" >
  116.                     <Hyperlink FontWeight="Bold" >Optimize Windows Vista for better performance </Hyperlink>
  117.                     <LineBreak/>Use any of these simple ways to help speed up Windows Vista and make your PC run faster--even without upgrading your hardware.
  118.                 </TextBlock>
  119.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 0" >
  120.                     <Run FontWeight="Bold" FontSize="13">For Windows XP</Run>
  121.                     <LineBreak/><Hyperlink FontWeight="Bold">Create a video greeting card </Hyperlink>
  122.                     <LineBreak/>Send your holiday wishes afar or close to home this season with a custom video. Learn how using Windows Movie Maker in Windows XP.
  123.                 </TextBlock>
  124.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 0" >
  125.                     <Hyperlink FontWeight="Bold" >Protect your network from viruses and malicious software </Hyperlink>
  126.                     <LineBreak/>Help keep unauthorized people and software--such as hackers, viruses, and worms--from connecting to your home network.
  127.                 </TextBlock>
  128.                 <Rectangle Margin="25, 10, 10, 10" Fill="#cccccc" Height="1"/>
  129.                 <TextBlock TextWrapping="Wrap" Margin="25, 10, 10, 25" FontSize="10" >
  130.                     To cancel your subscription to this newsletter, reply to this message with the word UNSUBSCRIBE in the Subject line. You can also unsubscribe <Hyperlink>here.</Hyperlink> You can manage all your Microsoft.com communication preferences at this site. 
  131.                 </TextBlock>
  132.                 <Border Background="#24849c" Padding="10, 4, 4, 4">
  133.                     <TextBlock HorizontalAlignment="Left" Foreground="White" FontSize="10">
  134.                         <Hyperlink Foreground="White">Windows Home</Hyperlink> | 
  135.                         <Hyperlink Foreground="White">Secutity</Hyperlink> | 
  136.                         <Hyperlink Foreground="White">Support</Hyperlink> | 
  137.                         <Hyperlink Foreground="White">Unsubscribe</Hyperlink>
  138.                     </TextBlock>
  139.                 </Border>
  140.             </StackPanel>
  141.         </Border>
  142.     </ScrollViewer>
  143. </Page>