src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml
changeset 175 1d4b6d6474d5
parent 168 d70ee2002f75
equal deleted inserted replaced
174:45c9e55fcf23 175:1d4b6d6474d5
   784                         </Setter.Value>
   784                         </Setter.Value>
   785                     </Setter>
   785                     </Setter>
   786                 </Trigger>
   786                 </Trigger>
   787             </Style.Triggers>
   787             </Style.Triggers>
   788         </Style>
   788         </Style>
   789         <Style x:Key="TimelineViewStyle1" TargetType="{x:Type vw:TimelineView}">
       
   790         	<Setter Property="Template">
       
   791         		<Setter.Value>
       
   792         			<ControlTemplate TargetType="{x:Type vw:TimelineView}">
       
   793         				<Border SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
       
   794         					<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
       
   795         				</Border>
       
   796         			</ControlTemplate>
       
   797         		</Setter.Value>
       
   798         	</Setter>
       
   799         </Style>
       
   800         <Style x:Key="SurfaceSliderStylePause" TargetType="{x:Type Custom:SurfaceSlider}">
   789         <Style x:Key="SurfaceSliderStylePause" TargetType="{x:Type Custom:SurfaceSlider}">
   801             <Setter Property="Background" Value="#191B2022"/>
   790             <Setter Property="Background" Value="#191B2022"/>
   802             <Setter Property="BorderBrush" Value="#3F040404"/>
   791             <Setter Property="BorderBrush" Value="#3F040404"/>
   803             <Setter Property="Foreground" Value="Black"/>
   792             <Setter Property="Foreground" Value="Black"/>
   804             <Setter Property="Width" Value="NaN"/>
   793             <Setter Property="Width" Value="NaN"/>
  1574     </UserControl.Resources>
  1563     </UserControl.Resources>
  1575 
  1564 
  1576     <Grid x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="{x:Null}">
  1565     <Grid x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="{x:Null}">
  1577         <Custom:SurfaceSlider  Height="Auto" x:Name="slider" Value="0.5" Width="Auto" 
  1566         <Custom:SurfaceSlider  Height="Auto" x:Name="slider" Value="0.5" Width="Auto" 
  1578                                Thumb.DragStarted="sliderPosition_DragStarted" Thumb.DragCompleted="sliderPosition_DragCompleted" ContactTapGesture="slider_ContactTapGesture" Background="#19FFFFFF" Style="{DynamicResource FingersDance.Control.Slider}" />
  1567                                Thumb.DragStarted="sliderPosition_DragStarted" Thumb.DragCompleted="sliderPosition_DragCompleted" ContactTapGesture="slider_ContactTapGesture" Background="#19FFFFFF" Style="{DynamicResource FingersDance.Control.Slider}" />
  1579         <vw:TimelineView x:Name="tv" Margin="0,15,0,0" Background="{x:Null}" Style="{DynamicResource TimelineViewStyle1}"/>
  1568         <vw:TimelineView x:Name="tv" Margin="0,5,0,0" Background="{x:Null}" />
  1580         <popup:UserControlClose x:Name="confirmCancelPopup" Question="Êtes-vous de sûr de vouloir effacer cette annotation ?" Visibility="Hidden" ConfirmYesOrNo="confirmCancelPopup_ConfirmYesOrNo" />
  1569         <popup:UserControlClose x:Name="confirmCancelPopup" Question="Êtes-vous de sûr de vouloir effacer cette annotation ?" Visibility="Hidden" ConfirmYesOrNo="confirmCancelPopup_ConfirmYesOrNo" />
  1581     </Grid>
  1570     </Grid>
  1582 </UserControl>
  1571 </UserControl>