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

56 lines
2.7 KiB
XML

<Window x:Class="SPC.Kiosk.Popup.LanguageSelector"
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:local="clr-namespace:SPC.Kiosk.Popup"
xmlns:uc ="clr-namespace:SPC.Kiosk.Common;assembly=SPC.Kiosk.Common"
xmlns:vm ="clr-namespace:SPC.Kiosk.Popup.ViewModel;assembly=SPC.Kiosk.Popup.ViewModel"
mc:Ignorable="d"
d:DesignHeight="1010" d:DesignWidth="1300"
ShowInTaskbar="False"
Topmost="True"
WindowStyle="None"
WindowState="Normal"
AllowsTransparency="True"
Background="Transparent">
<Window.DataContext>
<vm:VmLanguageSelector/>
</Window.DataContext>
<Window.InputBindings>
<KeyBinding Modifiers="Alt" Key="F4" Command="{Binding ToExecuteNothing}" />
</Window.InputBindings>
<Grid x:Name="FormBase" Background="#C0000000">
<Grid x:Name="FrameBase" Width="1300" Height="1010" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="80"/>
</Grid.RowDefinitions>
<StackPanel x:Name="LanguageButtonStack" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center"
Orientation="Horizontal">
</StackPanel>
<uc:AnimationButton x:Name="OK_Button" Grid.Row="1"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Width="{Binding Path=ActualWidth,ElementName=FrameBase}"
Height="80"
NormalBrush="#1469cc"
DisableBrush="#aaaaaa"
ClickAnimationType="TextSizeDown"
TextVisible="Visible"
Text="확인"
TextFontFamily="NanumSquare"
TextFontSize="27"
DisableFontSize="27"
TextForeground="White"
DisableForeground="#dddddd"
FontWeight="Normal"
DisableWeight="Normal"
DisplayLanguage="{Binding ShowLanguageType}"
LanguageText="{Binding OkButtonText}"
Command="{Binding OkCommand}"/>
</Grid>
</Grid>
</Window>