<UserControl xmlns="https://github.com/avaloniaui"
             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"
             xmlns:input="clr-namespace:PixiEditor.Views.Input"
             xmlns:settings="clr-namespace:PixiEditor.ViewModels.Tools.ToolSettings.Settings"
             xmlns:converters="clr-namespace:PixiEditor.Helpers.Converters"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="PixiEditor.Views.Tools.ToolSettings.Settings.PercentSettingView">
    <Design.DataContext>
        <settings:PercentSettingViewModel/>
    </Design.DataContext>
    <input:SizeInput x:Name="NumberInput"
                       Size="{Binding Value, Mode=TwoWay, Converter={converters:IntPercentConverter}}"
                       MinSize="{Binding Min, Converter={converters:IntPercentConverter}}"
                       MaxSize="{Binding Max, Converter={converters:IntPercentConverter}}"
                       Unit="%"
                       Margin="0,0,0,0" 
                        />
</UserControl>
