client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/ProductionTimeLine.xaml
changeset 0 249d70e7b32d
child 17 0e4e63f6f567
equal deleted inserted replaced
-1:000000000000 0:249d70e7b32d
       
     1 <UserControl
       
     2 	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
       
     3 	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       
     4 	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
       
     5 	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
       
     6 	mc:Ignorable="d"
       
     7 	
       
     8 	x:Class="Iri.Modernisation.Controls.View.ProductionTimeLine"
       
     9 	d:DesignWidth="640" Height="176">
       
    10 
       
    11 		<StackPanel x:Name="BookTimeLinePanel">
       
    12 		<StackPanel x:Name="HeaderBookTimeLinePanel" Orientation="Horizontal">
       
    13 			<Button x:Name="CutSequenceButton"  Content="Cut" Width="56"/>
       
    14 			<Button x:Name="InsertSequenceButton"  Width="58" Content="Ins"/>
       
    15 			<Button x:Name="DeleteSequenceButton"  Width="61" Content="Del" Click="DeleteSequenceButton_Click"/>
       
    16 			<Button x:Name="AddSequenceButton"  Width="61" Content="Add" Click="AddSequenceButton_Click"/>
       
    17 			<Slider x:Name="ScaleTimeLine"  Width="199" Margin="111,0,0,0" Minimum="600" Maximum="10000" Value="600"/>
       
    18 		</StackPanel>
       
    19 		<ScrollViewer x:Name="TimeLineScroller" Height="154" >
       
    20 			<Grid Height="144" Width="613">
       
    21 				<Grid.ColumnDefinitions>
       
    22 					<ColumnDefinition/>
       
    23 				</Grid.ColumnDefinitions>
       
    24 				<Slider  Width="{Binding Value, ElementName=ScaleTimeLine, Mode=OneWay}" x:Name="slider" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" SmallChange="0" ValueChanged="slider_ValueChanged"/>
       
    25 				<StackPanel  Width="{Binding Value, ElementName=ScaleTimeLine, Mode=OneWay}" x:Name="TimeStrip" Margin="0,21,0,0" d:LayoutOverrides="Width" Orientation="Horizontal" Height="32" VerticalAlignment="Top" />
       
    26 			</Grid>
       
    27 		</ScrollViewer>
       
    28 	</StackPanel>
       
    29 </UserControl>