source: trunk/PKCS1/WpfVisualization/Pkcs1Control.xaml @ 1650

Last change on this file since 1650 was 1650, checked in by schomburg, 11 years ago

initial commit of PKCS1 Plugin

File size: 2.5 KB
Line 
1<UserControl x:Class="PKCS1.WpfVisualization.Pkcs1Control"
2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4        xmlns:navi="clr-namespace:PKCS1.WpfVisualization.Navigation"
5        xmlns:controls="clr-namespace:PKCS1.WpfControls.Start"
6         
7    VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Loaded="UserControl_Loaded" Background="White">
8    <Grid>
9        <Grid.RowDefinitions>
10            <RowDefinition Height="*"/>
11        </Grid.RowDefinitions>
12       
13        <Grid.ColumnDefinitions>
14            <ColumnDefinition Width="Auto" />
15            <ColumnDefinition Width="Auto"/>
16            <ColumnDefinition Width="*" />
17        </Grid.ColumnDefinitions>
18       
19        <!-- Navigation -->
20        <Grid Grid.Column="0">
21            <Grid.RowDefinitions>
22                <RowDefinition Height="10"/>
23                <RowDefinition Height="Auto" />
24                <RowDefinition Height="*" />
25            </Grid.RowDefinitions>
26            <navi:Navigation HorizontalAlignment="Left" Grid.Row="1" MinWidth="200"  x:Name="navigator"/>
27            <Button VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="0,0,0,0" Grid.Row="2"  Content="Beenden" Visibility="Hidden"></Button>
28        </Grid>
29       
30        <!-- mittlere Spalte nur als Trennung da, Width 1 -->
31        <Rectangle Grid.Column="1" VerticalAlignment="Stretch" HorizontalAlignment="Left" Width="1" Fill="Gray"/>
32       
33        <!-- hier ist die contentarea -->
34        <Grid Grid.Column="2">
35            <Grid.RowDefinitions>
36                <RowDefinition Height="45"/>
37                <RowDefinition Height="*"/>
38            </Grid.RowDefinitions>
39            <DockPanel Grid.Row="0">
40                <Label Name="lblTitel" Margin="10,0,0,0" FontSize="17" HorizontalAlignment="Left" VerticalAlignment="Center">Überschrift hier</Label>
41                <Image Cursor="Hand" Source="../Resources/icons/help32.gif" Width="24" Height="24" MouseLeftButtonDown="Image_MouseLeftButtonDown" HorizontalAlignment="Left" VerticalAlignment="Center"/>
42            </DockPanel>
43            <ContentControl  Grid.Row="1" Name="ContentArea" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,10,10,10">
44               <controls:StartControl HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" x:Name="StartControl"/>
45            </ContentControl>
46        </Grid>
47
48    </Grid>
49</UserControl>
Note: See TracBrowser for help on using the repository browser.