<Window x:Class="WPF控件_16_Slider.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        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"
        mc:Ignorable="d"
        Icon="public/003540AH4M72.jpg"
        Title="WPF控件_16_Slider" Height="450" Width="800">
    <StackPanel Margin="50">
        <Label>TickPlacement="BottomRight"</Label>
        <Slider Orientation="Horizontal" Delay="1" Interval="10" TickPlacement="BottomRight" TickFrequency="5"
                Value="0" Maximum="100" Minimum="0" IsSelectionRangeEnabled="True" SmallChange="5" LargeChange="10" />

        <Label>TickPlacement="TopLeft"</Label>
        <Slider Orientation="Horizontal" Delay="1000" Interval="1000" TickPlacement="TopLeft" TickFrequency="5"
                Value="0" Maximum="100" Minimum="0" IsSelectionRangeEnabled="True" />

        <Label>TickPlacement="Both"</Label>
        <Slider Orientation="Horizontal" Delay="1000" Interval="1000" TickPlacement="Both" TickFrequency="5" Value="0"
                Maximum="100" Minimum="0" IsSelectionRangeEnabled="True" />

        <Label>TickPlacement="Both" + IsSnapToTickEnabled="True"</Label>
        <Slider Orientation="Horizontal" Delay="1000" Interval="1000" TickPlacement="Both" TickFrequency="5" Value="0"
                Maximum="100" Minimum="0" IsSnapToTickEnabled="True" IsSelectionRangeEnabled="True" />
    </StackPanel>
</Window>