spc-kiosk-pb/Kiosk/Popup/SPC.Kiosk.Popup/OptionItem.xaml
2019-06-16 14:12:09 +09:00

65 lines
3.4 KiB
XML

<UserControl x:Class="SPC.Kiosk.Popup.OptionItem"
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.Popup"
mc:Ignorable="d"
d:DesignHeight="135" d:DesignWidth="230" >
<Grid Width="230" Height="135">
<uc:AnimationButton x:Name="OptionButton"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Width="215"
Height="115"
NormalBrush="C:\SPC\POS\IMAGE\Kiosk\PBbtn_option_n.png"
SwitchOnBrush="C:\SPC\POS\IMAGE\Kiosk\PBbtn_option_s.png"
DisableBrush="C:\SPC\POS\IMAGE\Kiosk\PBbtn_option_s.png"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
Text="옵션명"
TextFontFamily="NanumSquare"
TextFontSize="24"
SwitchOnFontSize="24"
DisableFontSize="24"
TextAlignment="Left"
TextHorizontalAlignment="Left"
TextVerticalAlignment="Top"
TextMargin="25,20,20,20"
TextWrapping="Wrap"
TextForeground="#808080"
SwitchOnForeground="#1469cc"
DisableForeground="#1469cc"
FontWeight="Bold"
SwitchOnFontWeight="Bold"
DisableWeight="Bold"
DisplayLanguage="{Binding DisplayLanguage, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:OptionItem}}}"
MouseClicked="OptionButton_MouseClicked"
/>
<uc:MutiLanguageTextBlock x:Name="OptionAmount"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
Margin="0,0,35,35"
Text="-300"
Foreground="#cc1473"
FontSize="21"
FontWeight="Bold"
FontFamily="NanumSquare"
/>
<uc:NumericCombo x:Name="OptionValueCombo"
Height="36"
TextWidth="57"
TextFontSize="20"
HorizontalAlignment="Center"
VerticalAlignment="Bottom"
BackgroungBrush="Transparent"
ForegroungBrush ="Black"
MinValue="1"
MaxValue="99"
ValueStep="1"
IsDropDown="False"
Margin="0,0,0,40"/>
</Grid>
</UserControl>