<UserControl x:Class="F4SDicons.User_Controls.CopyTextBox"
             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:F4SDicons.User_Controls"
             xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800"
             d:Background="Moccasin" Name="TextUserControl">
    <DockPanel>

        
        <DockPanel.Resources>

            <Style TargetType="ico:AdaptableIcon">
                <Setter Property="PrimaryIconColor" Value="{DynamicResource color3D3C3C}"/>
                <Setter Property="IconHeight" Value="40"/>
                <Setter Property="IconWidth" Value="40"/>
                <Setter Property="BorderPadding" Value="5"/>
                <Setter Property="Margin" Value="10"/>

                <Style.Triggers>
                    <Trigger Property="IsMouseOver" Value="True">
                        <Setter Property="PrimaryIconColor" Value="{DynamicResource color1F92EE}"/>
                        <Setter Property="IconBackgroundColor" Value="{DynamicResource colorF2F2F2}"/>
                        <Setter Property="Cursor" Value="Hand"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
        </DockPanel.Resources>

        <ico:AdaptableIcon DockPanel.Dock="Right" x:Name="CopyBorder" MouseLeftButtonUp="currentNameButton_Click" ToolTip="{Binding ElementName=TextUserControl, Path=ToolTipText}" SelectedMaterialIcon="ic_content_copy">
           
        </ico:AdaptableIcon>
        
        <TextBlock Name="CopyBlock" Text="{Binding ElementName=TextUserControl, Path=TextContent}" Foreground="{DynamicResource color3D3C3C}" FontFamily="Calibri Light" TextWrapping="Wrap" Height="45" FontSize="14" Background="{DynamicResource colorF7FAFA}" Margin="10,0,0,0">

        </TextBlock>

    </DockPanel>
</UserControl>
