49 lines
2.9 KiB
XML
49 lines
2.9 KiB
XML
<UserControl x:Class="SPC.Kiosk.Popup.HappyAppCoupon"
|
|
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="170" d:DesignWidth="380" >
|
|
<UserControl.Resources>
|
|
<uc:BoolToVisibility x:Key="ToVisibility" />
|
|
<uc:NumericToString x:Key="ToString" />
|
|
<uc:CodeToMultiLanguage x:Key="ToMultiLanguage"/>
|
|
<uc:NumericExistToBool x:Key="ExistToBool"/>
|
|
<uc:NumericExistToVisibility x:Key="ExistToVisibility"/>
|
|
</UserControl.Resources>
|
|
<Grid Width="380" Height="170">
|
|
<uc:AnimationButton x:Name="OptionButton"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
Width="360"
|
|
Height="150"
|
|
NormalBrush="{Binding ButtonNormalBrush, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:HappyAppCoupon}}}"
|
|
DownBrush="{Binding ButtonDownBrush, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:HappyAppCoupon}}}"
|
|
SwitchOnBrush="{Binding ButtonSwitchOnBrush, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:HappyAppCoupon}}}"
|
|
DisableBrush="{Binding ButtonDisableBrush, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:HappyAppCoupon}}}"
|
|
ClickAnimationType="None"
|
|
Text="{Binding ItemData.Name, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:HappyAppCoupon}}}"
|
|
TextVisible="Visible"
|
|
TextFontWeight="Bold"
|
|
SwitchOnFontWeight="Bold"
|
|
DisableWeight="Bold"
|
|
TextFontFamily="NanumSquare"
|
|
TextFontSize="24"
|
|
SwitchOnFontSize="24"
|
|
DisableFontSize="24"
|
|
TextAlignment="Left"
|
|
TextHorizontalAlignment="Left"
|
|
TextVerticalAlignment="Top"
|
|
TextWrapping="Wrap"
|
|
TextForeground="#555555"
|
|
SwitchOnForeground="#1469cc"
|
|
DisableForeground="#bbbbbb"
|
|
TextMargin="24,24,96,45"
|
|
MouseClicked="OptionButton_MouseClicked"
|
|
/>
|
|
</Grid>
|
|
</UserControl>
|