added SSCLI 1.0
[windows-sources.git] / sdk / samples / WPFSamples / MediaGallery / vb / app.xaml
blob216143da881891072b7900e3c02222b9177e8543
1 <!-- If you change the root element of this file, be sure to change the class that is subclassed in app.xaml.cs -->
2 <Application
3   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5     x:Class="SDKSample.app"
6     StartupUri="SampleViewer.xaml"
7     >
8   <!-- Defines the resources and styles used by the application.  -->
9   <Application.Resources>
10       
11     <Style x:Key="CodeSnippetParagraph">
12         <Setter Property="TextBlock.FontFamily" Value="Courier New" />
13         <Setter Property="TextBlock.FontSize" Value="10" />
14         <Setter Property="TextBlock.TextWrapping" Value="Wrap" />
15         <Setter Property="TextBlock.Margin" Value="10" />
16         <Setter Property="TextBlock.Background" Value="#eeeeee" />
17       <Setter Property="TextBlock.TextAlignment" Value="Left" />
18     </Style>
20     <DrawingBrush x:Key="MyGridBrushResource" Opacity="0.25"
21       Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
22       <DrawingBrush.Drawing>
23         <DrawingGroup>
24           <DrawingGroup.Children>
25             <GeometryDrawing Geometry="M0,0 L1,0 1,1 0,1z" Brush="White" />
26             <GeometryDrawing Brush="#9999FF">
27               <GeometryDrawing.Geometry>
28                 <GeometryGroup>
29                   <RectangleGeometry Rect="0,0,1,0.1" />
30                   <RectangleGeometry Rect="0,0.1,0.1,0.9" />
31                 </GeometryGroup>
32               </GeometryDrawing.Geometry>
33             </GeometryDrawing>
34           </DrawingGroup.Children>
35         </DrawingGroup>
36       </DrawingBrush.Drawing>
37     </DrawingBrush>
39       
40       <Style TargetType="{x:Type TextBlock}">
41         <Setter Property="FontFamily" Value="Verdana"/>
42         <Setter Property="TextWrapping" Value="Wrap"/>
43       </Style>      
45   </Application.Resources>
46 </Application>