<?xml version="1.0" encoding="utf-8" ?>
<UserControl
    x:Class="RodelAgent.UI.Controls.EnterWrapTip"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:ext="using:RodelAgent.UI.Extensions"
    xmlns:ic="using:FluentIcons.WinUI"
    xmlns:local="using:RodelAgent.UI.Controls"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <StackPanel
            Orientation="Horizontal"
            Spacing="4"
            Visibility="{x:Bind IsEnterSend, Mode=OneWay}">
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="12"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="KeyboardShiftUppercase" />
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="8"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="Add" />
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="12"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="ArrowEnterLeft" />
            <TextBlock
                Margin="8,0,0,0"
                VerticalAlignment="Center"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Style="{StaticResource CaptionTextBlockStyle}"
                Text="{ext:Locale Name=WrapLine}"
                TextLineBounds="Tight" />
            <Border
                Width="1"
                Height="14"
                Margin="8,0"
                VerticalAlignment="Center"
                Background="{ThemeResource DividerStrokeColorDefaultBrush}" />
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="12"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="ArrowEnterLeft" />
            <TextBlock
                Margin="4,0,0,0"
                VerticalAlignment="Center"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Style="{StaticResource CaptionTextBlockStyle}"
                Text="{ext:Locale Name=Send}"
                TextLineBounds="Tight" />
        </StackPanel>
        <StackPanel
            Orientation="Horizontal"
            Spacing="4"
            Visibility="{x:Bind IsEnterSend, Mode=OneWay, Converter={StaticResource BoolToVisibilityReverseConverter}}">
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="12"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="ArrowEnterLeft" />
            <TextBlock
                Margin="4,0,0,0"
                VerticalAlignment="Center"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Style="{StaticResource CaptionTextBlockStyle}"
                Text="{ext:Locale Name=WrapLine}"
                TextLineBounds="Tight" />
            <Border
                Width="1"
                Height="14"
                Margin="8,0"
                VerticalAlignment="Center"
                Background="{ThemeResource DividerStrokeColorDefaultBrush}" />
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="14"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="ControlButton" />
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="8"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="Add" />
            <ic:SymbolIcon
                VerticalAlignment="Center"
                FontSize="12"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Symbol="ArrowEnterLeft" />
            <TextBlock
                Margin="4,0,0,0"
                VerticalAlignment="Center"
                Foreground="{ThemeResource TextFillColorTertiaryBrush}"
                Style="{StaticResource CaptionTextBlockStyle}"
                Text="{ext:Locale Name=Send}"
                TextLineBounds="Tight" />
        </StackPanel>
    </Grid>
</UserControl>
