source: trunk/CrypPlugins/P2PEditor/GUI/Controls/JobDisplayTemplate.xaml @ 1701

Last change on this file since 1701 was 1701, checked in by Paul Lelgemann, 12 years ago

o P2PEditor fixes

File size: 1.7 KB
Line 
1<ResourceDictionary x:Class="Cryptool.P2PEditor.GUI.Controls.JobDisplayTemplate"
2              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Distributed="clr-namespace:Cryptool.P2PEditor.Distributed" xmlns:Converters="clr-namespace:Cryptool.P2PEditor.Converters">
4
5        <Converters:DateTimeConverter x:Key="DateTimeConverter" />
6        <DataTemplate DataType="{x:Type Distributed:DistributedJob}" x:Key="jobDisplayTemplate">
7        <Grid>
8            <Grid.ColumnDefinitions>
9                <ColumnDefinition Width="75" />
10                <ColumnDefinition Width="*" />
11                <ColumnDefinition Width="130" />
12            </Grid.ColumnDefinitions>
13            <StackPanel Grid.Column="0">
14                <Label Content="Name" FontWeight="Bold" Height="24" />
15                <Label Content="Author:" FontWeight="Bold" FontSize="10" Height="23" />
16                <Label Content="Workspace:" FontWeight="Bold" FontSize="10" Height="23" />
17            </StackPanel>
18            <StackPanel Grid.Column="1">
19                <Label Content="{Binding JobName}" Height="24" />
20                <Label Content="{Binding JobOwner}" Height="23" FontSize="10" />
21                <Label Content="{Binding FileName}" Height="23" FontSize="10" />
22            </StackPanel>
23            <StackPanel Grid.Column="2" HorizontalAlignment="Right">
24                <Label Content="{Binding JobDate, Converter={StaticResource DateTimeConverter}}" VerticalAlignment="Top" FontSize="10" Height="23" />
25                <Label Content="" VerticalAlignment="Top" FontSize="10" Height="23" />
26            </StackPanel>
27        </Grid>
28    </DataTemplate>
29   
30</ResourceDictionary>
Note: See TracBrowser for help on using the repository browser.