<Window x:Class="F4SD_AdaptableIcon_Export.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:sys="clr-namespace:System;assembly=mscorlib"
        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:local="clr-namespace:F4SD_AdaptableIcon_Export"
        xmlns:mi="clr-namespace:MaterialIcons;assembly=MaterialIcons"
        xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"       
        xmlns:uc="clr-namespace:F4SD_AdaptableIcon_Export.User_Controls"
        mc:Ignorable="d"
        Title="F4SD-AdaptableIcon-Export" Height="500" Width="600">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="120"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>

        <Grid.Resources>
            <Style TargetType="ico:AdaptableIcon">
                <Setter Property="PrimaryIconColor" Value="{DynamicResource color3D3C3C}"/>
                <Setter Property="IconHeight" Value="50"/>
                <Setter Property="IconWidth" Value="50"/>
                <Setter Property="BorderPadding" Value="5"/>

            </Style>
        </Grid.Resources>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="50"/>
            </Grid.ColumnDefinitions>

            <Grid.RowDefinitions>
                <RowDefinition Height="40"/>
                <RowDefinition Height="40"/>
                <RowDefinition Height="40"/>
            </Grid.RowDefinitions>
    
            <TextBlock Text="Select path for icon export:" Height="20" Margin="5,0,0,0"/>
            <TextBox x:Name="folderPathTextBox" x:FieldModifier="private" Text="" Grid.Row="1" Grid.Column="0" Height="20" Margin="5,0,0,0" TextChanged="folderPathTextBox_TextChanged"/>
            <Button x:Name="folderPathButton" Grid.Row="1" Grid.Column="1" Content="..." Height="20" Width="40" Click="folderPathButton_Click"/>
            <Slider x:Name="pixSize" Grid.Row="2" Minimum="32" Maximum="256" VerticalAlignment="Center" Margin="10,0" Value="64" ValueChanged="pixSize_ValueChanged" />
            <TextBlock x:Name="txtSize" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Text="64"/>
        </Grid>

        <ico:AdaptableIcon Grid.Row="1" x:Name="exampleIcon" SelectedInternIcon="f4sd" HorizontalAlignment="Center" VerticalAlignment="Center" IconWidth="64" IconHeight="64" Margin="0" Padding="0"/>

        <Grid Grid.Row="2">
            <Button x:Name="exportButton" Height="30" Width="100" Content="Export" Click="exportButton_Click" IsEnabled="False"/>
        </Grid>
    </Grid>
</Window>
