PageRenderTime 16ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

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

#
XAML | 39 lines | 38 code | 1 blank | 0 comment | 0 complexity | 28cbbea67a66427f7cfdd25f6281791c MD5 | raw file
 1<Window 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="http://www.codeplex.com/CompositeWPF"
 5    Title="Shell" Width="640" Height="480">
 6    <Window.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    </Window.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        <StackPanel Orientation="Horizontal">
33            <Label HorizontalAlignment="Left" Margin="10,0,0,0" Width="Auto" Content="Event Aggregation" FontWeight="Bold" Foreground="#FF373737" FontSize="24" FontFamily="Corbel"/>
34            <Label HorizontalAlignment="Left" Width="Auto" Content="QuickStart" FontWeight="Normal" Foreground="#FF373737" FontSize="24" FontFamily="Corbel"/>
35        </StackPanel>
36        <Separator Margin="0,0,0,0" VerticalAlignment="Bottom" Height="10" BorderBrush="#193441"/>
37    </Grid>
38</Window>
39