1 <UserControl x:Class="Iri.Modernisation.Controls.View.CustomableVideoElement" |
1 <UserControl |
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" BorderBrush="Black" Width="{Binding Duration, Mode=OneTime}"> |
3 xmlns:Converter="clr-namespace:Iri.Modernisation.Controls.Converter" |
|
4 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="Iri.Modernisation.Controls.View.CustomableVideoElement" |
|
5 BorderBrush="Black" Width="{Binding Duration, Mode=OneTime}" mc:Ignorable="d"> |
|
6 <UserControl.Resources> |
|
7 <Converter:PolemicTypeColorConverter x:Key="PolemicTypeColorConverter"/> |
|
8 </UserControl.Resources> |
4 <Grid x:Name="LayoutRoot"> |
9 <Grid x:Name="LayoutRoot"> |
5 <ToolTipService.ToolTip> |
10 <ToolTipService.ToolTip> |
6 <StackPanel Orientation="Horizontal"> |
11 <StackPanel Orientation="Horizontal"> |
7 <TextBlock Text="{Binding BeginTrim}"/> |
12 <TextBlock Text="{Binding BeginTrim}"/> |
8 <TextBlock Text="|- "></TextBlock> |
13 <TextBlock Text="|- "/> |
9 <TextBlock Text="{Binding DurationTimeSpan}"></TextBlock> |
14 <TextBlock Text="{Binding DurationTimeSpan}"/> |
10 <TextBlock Text="-| "></TextBlock> |
15 <TextBlock Text="-| "/> |
11 <TextBlock Text="{Binding EndTrim}"/> |
16 <TextBlock Text="{Binding EndTrim}"/> |
12 |
17 |
13 </StackPanel> |
18 </StackPanel> |
14 |
19 |
15 </ToolTipService.ToolTip> |
20 </ToolTipService.ToolTip> |
16 <Rectangle Fill="#FFFF0909" Stroke="Black" StrokeThickness="0"/> |
21 <Rectangle Fill="{Binding Chapter, Converter={StaticResource PolemicTypeColorConverter}, Mode=TwoWay}" Stroke="Black" StrokeThickness="0"/> |
17 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Left" Width="5" Cursor="SizeWE"/> |
22 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Left" Width="2" Cursor="SizeWE" d:LayoutOverrides="HorizontalAlignment"/> |
18 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Right" Width="5" Cursor="SizeWE"/> |
23 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" HorizontalAlignment="Right" Width="2" Cursor="SizeWE" d:LayoutOverrides="HorizontalAlignment"/> |
19 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="8"/> |
24 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="8"/> |
20 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="8"/> |
25 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="8"/> |
21 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Right" VerticalAlignment="Top" Width="8"/> |
26 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Right" VerticalAlignment="Top" Width="8"/> |
22 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="8"/> |
27 <Rectangle Fill="Black" Stroke="Black" StrokeThickness="0" Height="2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="8"/> |
23 </Grid> |
28 </Grid> |