client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/CustomableIndexElement.xaml
author Matthieu Totet
Fri, 11 Dec 2009 10:48:58 +0100
changeset 20 c2dd8119a6c1
child 27 f292db96b050
permissions -rw-r--r--
Update ProductionView
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     1
<UserControl
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     3
             xmlns:Converter="clr-namespace:Iri.Modernisation.Controls.Converter"
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     4
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     5
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     6
    
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     7
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     8
    x:Class="Iri.Modernisation.Controls.View.CustomableIndexElement"
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
     9
    BorderBrush="Black"  Width="{Binding Duration}" mc:Ignorable="d">
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    10
    <UserControl.Resources>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    11
        <Converter:PolemicTypeColorConverter x:Key="PolemicTypeColorConverter"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    12
    </UserControl.Resources>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    13
    <Grid x:Name="LayoutRoot">
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    14
        <ToolTipService.ToolTip>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    15
            <StackPanel Orientation="Horizontal">
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    16
                <TextBlock Text="{Binding TimerIn}"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    17
                <TextBlock Text="|- "/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    18
                <TextBlock Text="{Binding Duration}"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    19
                <TextBlock Text="-| "/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    20
                <TextBlock Text="{Binding TimerOut}"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    21
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    22
            </StackPanel>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    23
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    24
        </ToolTipService.ToolTip>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    25
        <Rectangle Fill="{Binding Chapter, Converter={StaticResource PolemicTypeColorConverter}, Mode=TwoWay}" Stroke="Black" StrokeThickness="0"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    26
        <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Left" Width="2" Cursor="SizeWE" d:LayoutOverrides="HorizontalAlignment"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    27
        <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Right" Width="2" Cursor="SizeWE" d:LayoutOverrides="HorizontalAlignment"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    28
        <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="8"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    29
        <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="8"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    30
        <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Right" VerticalAlignment="Top" Width="8"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    31
        <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="8"/>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    32
    </Grid>
c2dd8119a6c1 Update ProductionView
Matthieu Totet
parents:
diff changeset
    33
</UserControl>