PageRenderTime 46ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/V2.2/trunk/Quickstarts/EventAggregation/Silverlight/Shell.xaml

#
XAML | 36 lines | 35 code | 0 blank | 1 comment | 0 complexity | 42c5b86aa28547d0a4472be0e0da1164 MD5 | raw file
  1. <UserControl x:Class="EventAggregation.Shell"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:cal="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
  5. Width="650" Height="480">
  6. <UserControl.Background>
  7. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  8. <GradientStop Color="#FFFFFFFF" Offset="0"/>
  9. <GradientStop Color="#FCFFF5" Offset="0.992"/>
  10. <GradientStop Color="#3E606F" Offset="0.185"/>
  11. </LinearGradientBrush>
  12. </UserControl.Background>
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="50"/>
  16. <RowDefinition Height="*"/>
  17. </Grid.RowDefinitions>
  18. <Border Margin="10,5,10,10" Grid.Row="1" CornerRadius="4,4,4,4" BorderBrush="#193441" Background="#DDDCC5" BorderThickness="2,2,2,2">
  19. <Grid Width="Auto" Height="Auto" Margin="10,10,10,10">
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width=".3*"/>
  22. <ColumnDefinition Width=".7*"/>
  23. </Grid.ColumnDefinitions>
  24. <Border Grid.Column="0" CornerRadius="4,4,4,4" BorderBrush="#193441" Background="#FCFFF5" BorderThickness="2,2,2,2" Margin="5" Padding="5">
  25. <ItemsControl cal:RegionManager.RegionName="LeftRegion" />
  26. </Border>
  27. <Border Grid.Column="1" CornerRadius="4,4,4,4" BorderBrush="#193441" Background="#FCFFF5" BorderThickness="2,2,2,2" Margin="5" Padding="5">
  28. <ItemsControl cal:RegionManager.RegionName="RightRegion" />
  29. </Border>
  30. </Grid>
  31. </Border>
  32. <TextBlock HorizontalAlignment="Left" Margin="265,5,0,0" Width="Auto" Text="QuickStart" FontWeight="Normal" Foreground="#FF373737" FontSize="24" FontFamily="Corbel"/>
  33. <TextBlock HorizontalAlignment="Left" Margin="10,5,0,0" Width="Auto" Text="Event Aggregation" FontWeight="Bold" Foreground="#FF373737" FontSize="24" FontFamily="Corbel"/>
  34. <!--<Separator Margin="0,0,0,0" VerticalAlignment="Bottom" Height="10" BorderBrush="#193441"/>-->
  35. </Grid>
  36. </UserControl>