<UserControl x:Class="SPC.Kiosk.PB.DiscountAndValue"
             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:uc ="clr-namespace:SPC.Kiosk.Common;assembly=SPC.Kiosk.Common"
             xmlns:local="clr-namespace:SPC.Kiosk.PB"
             mc:Ignorable="d" 
             d:DesignHeight="140" d:DesignWidth="390" >
    <UserControl.Resources>
        <uc:NumericToString x:Key="ToString" />
    </UserControl.Resources>
    <Grid Margin="0,0,0,10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="190"/>
            <ColumnDefinition Width="35"/>
            <ColumnDefinition Width="105"/>
        </Grid.ColumnDefinitions>
        <uc:MutiLanguageTextBlock x:Name="ItemName"
                                  Grid.Column="0"
                                  VerticalAlignment="Top"
                                  TextAlignment="Left"
                                  Text="Item NameqGg"
                                  FontFamily="NanumSquare"
                                  Foreground="Black"
                                  FontSize="18"
                                  FontWeight="Normal"
                                  TextWrapping="Wrap"
                                  MultiLanguage="{Binding ItemData.DiscountName, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:DiscountAndValue}}}"
                                  DisplayLanguage="{Binding DisplayLanguage, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:DiscountAndValue}}}"/>
        <uc:MutiLanguageTextBlock x:Name="ItemCount"
                                  Grid.Column="1"
                                  VerticalAlignment="Top"
                                  TextAlignment="Right"
                                  Text=""
                                  FontFamily="NanumSquare"
                                  Foreground="Black"
                                  FontSize="18"
                                  FontWeight="Normal"
                                  TextWrapping="NoWrap"/>
        <uc:MutiLanguageTextBlock x:Name="ItemPrice"
                                  Grid.Column="2"
                                  VerticalAlignment="Top"
                                  TextAlignment="Right"
                                  Text=""
                                  FontFamily="NanumSquare"
                                  Foreground="Black"
                                  FontSize="18"
                                  FontWeight="Bold"
                                  TextWrapping="NoWrap"/>
    </Grid>
</UserControl>
