129 lines
7.8 KiB
XML
129 lines
7.8 KiB
XML
<UserControl x:Class="SPC.Kiosk.Popup.PBStoreAgree"
|
|
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="610" d:DesignWidth="474">
|
|
<UserControl.Resources>
|
|
<uc:BoolToUnvisibility x:Key="ToUnvisibility" />
|
|
<uc:BoolToVisibility x:Key="ToVisibility" />
|
|
</UserControl.Resources>
|
|
<Grid >
|
|
<Grid.Background>
|
|
<ImageBrush ImageSource="{Binding Path=StoreData.BackgroundImage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"/>
|
|
</Grid.Background>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="30"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="30"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="27"/>
|
|
<RowDefinition Height="90"/>
|
|
<RowDefinition Height="110"/>
|
|
<RowDefinition Height="27"/>
|
|
<RowDefinition Height="67"/>
|
|
<RowDefinition Height="125"/>
|
|
<RowDefinition Height="80"/>
|
|
<RowDefinition Height="60"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<uc:MutiLanguageTextBlock x:Name="StoreHeader"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Text="단골매장 등록 동의"
|
|
VerticalAlignment="Top"
|
|
HorizontalAlignment="Left"
|
|
Foreground="#1469cc"
|
|
FontSize="28"
|
|
FontWeight="ExtraBold"
|
|
TextAlignment="Left"
|
|
FontFamily="NanumSquare"
|
|
MultiLanguage="{Binding Path=StoreData.Header,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
DisplayLanguage="{Binding Path=StoreData.DisplayLanguage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}" />
|
|
<uc:AnimationButton x:Name="StoreImage"
|
|
Grid.Column="1"
|
|
Grid.Row="2"
|
|
Width="112"
|
|
Height="110"
|
|
NormalBrush="{Binding Path=StoreData.StoreImage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"/>
|
|
<uc:MutiLanguageTextBlock x:Name="StoreName"
|
|
Grid.Row="4"
|
|
Grid.Column="1"
|
|
Text="{Binding Path=StoreData.StoreName,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
VerticalAlignment="Top"
|
|
Foreground="#1469cc"
|
|
FontSize="36"
|
|
FontWeight="Bold"
|
|
TextAlignment="Center"
|
|
FontFamily="NanumSquare" />
|
|
<uc:MutiLanguageTextBlock x:Name="StoreInfo1"
|
|
Grid.Row="5"
|
|
Grid.Column="1"
|
|
Text="단골매장 안내1"
|
|
VerticalAlignment="Top"
|
|
Foreground="Black"
|
|
FontSize="21"
|
|
FontWeight="Bold"
|
|
FontFamily="NanumSquare"
|
|
TextAlignment="Center"
|
|
TextWrapping="Wrap"
|
|
MultiLanguage="{Binding Path=StoreData.FirstInfoText,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
DisplayLanguage="{Binding Path=StoreData.DisplayLanguage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}" />
|
|
<uc:MutiLanguageTextBlock x:Name="WelcomInfo"
|
|
Grid.Row="5"
|
|
Grid.RowSpan="2"
|
|
Grid.Column="1"
|
|
Text="단골매장 환영 안내"
|
|
VerticalAlignment="Top"
|
|
Foreground="Black"
|
|
FontSize="28"
|
|
FontWeight="Bold"
|
|
FontFamily="NanumSquare"
|
|
TextAlignment="Center"
|
|
TextWrapping="Wrap"
|
|
Margin="0,20,0,0"
|
|
MultiLanguage="{Binding Path=StoreData.WelcomeInfoText,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
DisplayLanguage="{Binding Path=StoreData.DisplayLanguage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}" />
|
|
<uc:MutiLanguageTextBlock x:Name="StoreInfo2"
|
|
Grid.Row="6"
|
|
Grid.Column="1"
|
|
Text="단골매장 안내2"
|
|
VerticalAlignment="Top"
|
|
Foreground="#999999"
|
|
FontSize="18"
|
|
FontWeight="Bold"
|
|
FontFamily="NanumSquare"
|
|
TextAlignment="Center"
|
|
LineHeight="27"
|
|
TextWrapping="Wrap"
|
|
MultiLanguage="{Binding Path=StoreData.SecondInfoText,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
DisplayLanguage="{Binding Path=StoreData.DisplayLanguage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}" />
|
|
<uc:AnimationButton x:Name="StoreAgree"
|
|
Grid.Column="1"
|
|
Grid.Row="7"
|
|
Width="220"
|
|
Height="60"
|
|
NormalBrush="{Binding Path=StoreData.ButtonNormalBrush,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
SwitchOnBrush="{Binding Path=StoreData.ButtonSwitchOnBrush,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
BrushStretch = "Fill"
|
|
ClickAnimationType="SizeDown"
|
|
TextVisible ="Visible"
|
|
Text="동의하기"
|
|
TextFontFamily="NanumSquare"
|
|
TextFontSize ="24"
|
|
TextForeground = "White"
|
|
TextFontWeight ="Bold"
|
|
SwitchOnFontSize="24"
|
|
SwitchOnForeground="#1469cc"
|
|
SwitchOnFontWeight="Bold"
|
|
Switch="{Binding Path=Selected,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree},Mode=TwoWay}"
|
|
LanguageText="{Binding Path=StoreData.ButtonText,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
DisplayLanguage="{Binding Path=StoreData.DisplayLanguage,RelativeSource={RelativeSource AncestorType=local:PBStoreAgree}}"
|
|
MouseClicked="StoreAgree_MouseClicked"/>
|
|
</Grid>
|
|
</UserControl>
|