<UserControl
    d:DesignHeight="450"
    d:DesignWidth="800"
    mc:Ignorable="d"
    x:Class="PicView.Avalonia.Views.Gallery.GalleryItemSizeSlider"
    x:DataType="viewModels:MainViewModel"
    xmlns="https://github.com/avaloniaui"
    xmlns:customControls="clr-namespace:PicView.Avalonia.CustomControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:viewModels="clr-namespace:PicView.Avalonia.ViewModels"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <customControls:CustomSlider
        Height="30"
        HorizontalAlignment="Center"
        IsSnapToTickEnabled="True"
        Margin="0,1,0,1"
        TickFrequency="1"
        TickPlacement="BottomRight"
        Value="{CompiledBinding Gallery.GalleryItem.ItemHeight.Value,
                                Mode=TwoWay}"
        Width="270"
        x:Name="CustomSlider" />
</UserControl>
