<UserControl x:Class="FasdDesktopUi.Basics.UserControls.EditWidgetValueControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:FasdDesktopUi.Basics.UserControls"
             xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
             mc:Ignorable="d"
             d:DesignHeight="450"
             d:DesignWidth="800">
    <Grid x:Name="MainGrid">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <Border x:Name="EditControlBorder" />

        <ico:AdaptableIcon x:Name="EditButton"
                           Grid.Column="2"
                           MouseLeftButtonUp="EditButton_MouseLeftButtonUp"
                           TouchDown="EditButton_TouchDown"
                           SelectedMaterialIcon="ic_edit"
                           Style="{DynamicResource SettingsPage.Close.Icon}"
                           Margin="0"
                           BorderPadding="6.5"
                           IconWidth="28"
                           IconHeight="28"
                           VerticalAlignment="Center" />

    </Grid>
</UserControl>
