| 
					
				 | 
			
			
				@@ -1,93 +1,264 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<Styles xmlns="https://github.com/avaloniaui"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Design.PreviewWith> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Border Margin="20" Width="200" Height="200"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <DockPanel LastChildFill="True"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <StackPanel Spacing="10" DockPanel.Dock="Top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Slider Value="50" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Slider IsEnabled="False" Value="50" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </StackPanel> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <StackPanel Spacing="10" Orientation="Horizontal"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Slider Value="50" Orientation="Vertical" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Slider IsEnabled="False" Orientation="Vertical" Value="50" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </StackPanel> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </DockPanel> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </Border> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Design.PreviewWith> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Styles.Resources> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Thickness x:Key="SliderTopHeaderMargin">0,0,0,4</Thickness> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <GridLength x:Key="SliderPreContentMargin">15</GridLength> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <GridLength x:Key="SliderPostContentMargin">15</GridLength> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <x:Double x:Key="SliderHorizontalHeight">32</x:Double> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <x:Double x:Key="SliderVerticalWidth">32</x:Double> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <CornerRadius x:Key="SliderThumbCornerRadius">10</CornerRadius> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <x:Double x:Key="SliderHorizontalThumbWidth">20</x:Double> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <x:Double x:Key="SliderHorizontalThumbHeight">20</x:Double> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <x:Double x:Key="SliderVerticalThumbWidth">20</x:Double> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <x:Double x:Key="SliderVerticalThumbHeight">20</x:Double> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Styles.Resources> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Thumb.SliderThumbStyle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="BorderThickness" Value="0" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Template"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <Setter.Value> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{DynamicResource SliderThumbCornerRadius}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </Setter.Value> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </Setter> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <Style Selector="Slider:horizontal"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="MinWidth" Value="40"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="MinHeight" Value="20"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackFill}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="BorderThickness" Value="{DynamicResource SliderBorderThemeThickness}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Foreground" Value="{DynamicResource SliderTrackValueFill}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <Setter Property="Template"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <Grid Name="grid"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <Grid.RowDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <RowDefinition Height="Auto"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <RowDefinition Height="Auto" MinHeight="20"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <RowDefinition Height="Auto"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </Grid.RowDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <Border Name="TrackBackground" Grid.Row="1" Height="4" Margin="6,0" VerticalAlignment="Center"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <Track Name="PART_Track" Grid.Row="1" Orientation="Horizontal"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               <RepeatButton Name="PART_DecreaseButton" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                             Classes="repeattrack" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               <RepeatButton Name="PART_IncreaseButton" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                             Classes="repeattrack" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Thumb Name="thumb" MinWidth="20" MinHeight="20"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <Thumb.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <Ellipse Width="12" Height="12" Fill="{DynamicResource ThemeAccentBrush}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </Thumb.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </Thumb> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </Track> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="{DynamicResource ControlCornerRadius}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Grid Name="grid" Margin="{TemplateBinding Padding}" RowDefinitions="Auto, *"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <ContentPresenter x:Name="HeaderContentPresenter" Grid.Row="0" TextBlock.FontWeight="{DynamicResource SliderHeaderThemeFontWeight}" TextBlock.Foreground="{DynamicResource SliderHeaderForeground}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Margin="{DynamicResource SliderTopHeaderMargin}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <Grid x:Name="SliderContainer" Grid.Row="1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <Grid.Styles> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <Style Selector="TickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Setter Property="ReservedSpace" Value="{Binding #PART_Track.Thumb.Bounds}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </Grid.Styles> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <Grid x:Name="HorizontalTemplate" ColumnDefinitions="Auto,Auto,*" MinHeight="{DynamicResource SliderHorizontalHeight}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <Grid.RowDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <RowDefinition Height="{DynamicResource SliderPreContentMargin}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <RowDefinition Height="Auto" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <RowDefinition Height="{DynamicResource SliderPostContentMargin}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </Grid.RowDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <TickBar Name="TopTickBar" Placement="Top" Height="{DynamicResource SliderOutsideTickBarThemeHeight}" VerticalAlignment="Bottom" Margin="0,0,0,4" Grid.ColumnSpan="3" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <!-- <TickBar Name="HorizontalInlineTickBar" Placement="Top" Fill="{DynamicResource SliderInlineTickBarFill}" Height="{DynamicResource SliderTrackThemeHeight}" Grid.Row="1" Grid.ColumnSpan="3" /> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <TickBar Name="BottomTickBar" Placement="Bottom" Height="{DynamicResource SliderOutsideTickBarThemeHeight}" VerticalAlignment="Top" Margin="0,4,0,0" Grid.Row="2" Grid.ColumnSpan="3" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <Track Name="PART_Track" Grid.Row="1" Grid.ColumnSpan="3" Orientation="Horizontal"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <RepeatButton Name="PART_DecreaseButton" Background="{TemplateBinding Foreground}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="FocusTarget" Background="Transparent" Margin="0,-10" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="TrackBackground" Background="{TemplateBinding Background}" CornerRadius="{DynamicResource ControlCornerRadius}" Height="{DynamicResource SliderTrackThemeHeight}" VerticalAlignment="Center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </RepeatButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  </Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <RepeatButton Name="PART_IncreaseButton" Background="{TemplateBinding Background}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="FocusTarget" Background="Transparent" Margin="0,-10" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="TrackBackground" Background="{TemplateBinding Background}" CornerRadius="{DynamicResource ControlCornerRadius}" Height="{DynamicResource SliderTrackThemeHeight}" VerticalAlignment="Center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </RepeatButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  </Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Thumb Classes="SliderThumbStyle" Name="thumb" Margin="0" Padding="0" DataContext="{TemplateBinding Value}" Height="{DynamicResource SliderHorizontalThumbHeight}" Width="{DynamicResource SliderHorizontalThumbWidth}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </Track> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </Border> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </Setter> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <Style Selector="Slider:vertical"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="MinWidth" Value="20"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="MinHeight" Value="40"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackFill}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="BorderThickness" Value="{DynamicResource SliderBorderThemeThickness}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Foreground" Value="{DynamicResource SliderTrackValueFill}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <Setter Property="Template"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <Grid.ColumnDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <ColumnDefinition Width="Auto"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <ColumnDefinition Width="Auto" MinWidth="26"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <ColumnDefinition Width="Auto"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </Grid.ColumnDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <Border Name="TrackBackground" Grid.Column="1" Width="4" Margin="0,6" HorizontalAlignment="Center"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <Track Name="PART_Track" Grid.Column="1" Orientation="Vertical" IsDirectionReversed="True"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               <RepeatButton Name="PART_DecreaseButton" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                             Classes="repeattrack" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               <RepeatButton Name="PART_IncreaseButton" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                             Classes="repeattrack" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Thumb Name="thumb" MinWidth="20" MinHeight="20"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              <Thumb.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <Ellipse Width="12" Height="12" Fill="{DynamicResource ThemeAccentBrush}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              </Thumb.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            </Thumb> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          </Track> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="{DynamicResource ControlCornerRadius}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <Grid Name="grid" Margin="{TemplateBinding Padding}" RowDefinitions="Auto, *"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <ContentPresenter x:Name="HeaderContentPresenter" Grid.Row="0" TextBlock.FontWeight="{DynamicResource SliderHeaderThemeFontWeight}" TextBlock.Foreground="{DynamicResource SliderHeaderForeground}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Margin="{DynamicResource SliderTopHeaderMargin}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <Grid x:Name="SliderContainer" Grid.Row="1"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <Grid.Styles> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <Style Selector="TickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Setter Property="ReservedSpace" Value="{Binding #PART_Track.Thumb.Bounds}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </Grid.Styles> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              <Grid x:Name="VerticalTemplate" RowDefinitions="*,Auto,Auto" MinWidth="{DynamicResource SliderVerticalWidth}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <Grid.ColumnDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <ColumnDefinition Width="{DynamicResource SliderPreContentMargin}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <ColumnDefinition Width="Auto" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <ColumnDefinition Width="{DynamicResource SliderPostContentMargin}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </Grid.ColumnDefinitions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <TickBar Name="LeftTickBar" Placement="Left" Width="{DynamicResource SliderOutsideTickBarThemeHeight}" HorizontalAlignment="Right" Margin="0,0,4,0" Grid.RowSpan="3" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <!-- <TickBar Name="VerticalInlineTickBar" Placement="Inline" Fill="{DynamicResource SliderInlineTickBarFill}" Width="{DynamicResource SliderTrackThemeHeight}" Grid.Column="1" Grid.RowSpan="3" /> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <TickBar Name="RightTickBar" Placement="Right" Width="{DynamicResource SliderOutsideTickBarThemeHeight}" HorizontalAlignment="Left" Margin="4,0,0,0" Grid.Column="2" Grid.RowSpan="3" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <Track Name="PART_Track" Grid.Column="1" Grid.ColumnSpan="1" Grid.RowSpan="3" Orientation="Vertical"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <RepeatButton Name="PART_DecreaseButton" Background="{TemplateBinding Foreground}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="FocusTarget" Background="Transparent" Margin="0,-10" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="TrackBackground" Background="{TemplateBinding Background}" CornerRadius="{DynamicResource ControlCornerRadius}" Width="{DynamicResource SliderTrackThemeHeight}" HorizontalAlignment="Center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </RepeatButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  </Track.DecreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <RepeatButton Name="PART_IncreaseButton" Background="{TemplateBinding Background}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          <Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="FocusTarget" Background="Transparent" Margin="0,-10" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <Border Name="TrackBackground" Background="{TemplateBinding Background}" CornerRadius="{DynamicResource ControlCornerRadius}" Width="{DynamicResource SliderTrackThemeHeight}" HorizontalAlignment="Center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </RepeatButton.Template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </RepeatButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  </Track.IncreaseButton> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <Thumb Classes="SliderThumbStyle" Name="SliderThumb" Margin="0" Padding="0" DataContext="{TemplateBinding Value}" Height="{DynamicResource SliderVerticalThumbHeight}" Width="{DynamicResource SliderVerticalThumbWidth}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                </Track> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </Grid> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </Border> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </Setter> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <Style Selector="Slider /template/ Track#PART_Track"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="Minimum" Value="{TemplateBinding Minimum}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="Maximum" Value="{TemplateBinding Maximum}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="Value" Value="{TemplateBinding Value, Mode=TwoWay}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Minimum" Value="{TemplateBinding Minimum}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Maximum" Value="{TemplateBinding Maximum}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Value" Value="{TemplateBinding Value, Mode=TwoWay}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <Style Selector="Slider /template/ Border#TrackBackground"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="BorderThickness" Value="2"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderLowBrush}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider /template/ TickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Fill" Value="{DynamicResource SliderTickBarFill}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="TickFrequency" Value="{TemplateBinding Slider.TickFrequency}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Orientation" Value="{TemplateBinding Slider.Orientation}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Minimum" Value="{TemplateBinding Slider.Minimum}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Maximum" Value="{TemplateBinding Slider.Maximum}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <Style Selector="Slider /template/ RepeatButton.repeattrack"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="Background" Value="Transparent"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="Foreground" Value="{DynamicResource ThemeBorderLowBrush}"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Setter Property="Template"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <Border Background="{TemplateBinding Background}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </ControlTemplate> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </Setter> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- Normal State --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider /template/ Thumb.SliderThumbStyle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderThumbBackground}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider /template/ Grid#SliderContainer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderContainerBackground}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider /template/ TickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="IsVisible" Value="False" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- TickBar Placement States --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider[TickPlacement=TopLeft] /template/ TickBar#LeftTickBar, Slider[TickPlacement=Outside] /template/ TickBar#LeftTickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="IsVisible" Value="True" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider[TickPlacement=TopLeft] /template/ TickBar#TopTickBar, Slider[TickPlacement=Outside] /template/ TickBar#TopTickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="IsVisible" Value="True" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider[TickPlacement=BottomRight] /template/ TickBar#BottomTickBar, Slider[TickPlacement=Outside] /template/ TickBar#BottomTickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="IsVisible" Value="True" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider[TickPlacement=BottomRight] /template/ TickBar#RightTickBar, Slider[TickPlacement=Outside] /template/ TickBar#RightTickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="IsVisible" Value="True" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- Disabled State --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:disabled /template/ ContentPresenter#HeaderContentPresenter"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="TextBlock.Foreground" Value="{DynamicResource SliderHeaderForegroundDisabled}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:disabled /template/ RepeatButton#PART_DecreaseButton"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackValueFillDisabled}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:disabled /template/ RepeatButton#PART_IncreaseButton"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackFillDisabled}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:disabled /template/ Thumb.SliderThumbStyle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderThumbBackgroundDisabled}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:disabled /template/ TickBar"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Fill" Value="{DynamicResource SliderTickBarFillDisabled}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ Grid#SliderContainer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderContainerBackgroundDisabled}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- PointerOver State --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ RepeatButton#PART_IncreaseButton"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackFillPointerOver}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ Thumb.SliderThumbStyle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderThumbBackgroundPointerOver}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ Grid#SliderContainer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderContainerBackgroundPointerOver}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ RepeatButton#PART_DecreaseButton"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackValueFillPointerOver}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- Pressed State --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pressed /template/ RepeatButton#PART_IncreaseButton"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackFillPressed}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pressed /template/ Thumb.SliderThumbStyle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderThumbBackgroundPressed}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ Grid#SliderContainer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderContainerBackgroundPressed}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <Style Selector="Slider:pointerover /template/ RepeatButton#PART_DecreaseButton"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Setter Property="Background" Value="{DynamicResource SliderTrackValueFillPressed}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <Style Selector="Slider:disabled /template/ Grid#grid"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <Setter Property="Opacity" Value="{DynamicResource ThemeDisabledOpacity}" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </Style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </Styles> 
			 |