<Grid x:Class="Qwilight.View.LogInWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" DataContext="{Binding LogInValue, Source={StaticResource ViewModels}}" Style="{StaticResource StandardModalWindow}"> <Grid Style="{StaticResource StandardWindow}"> <Border Style="{StaticResource WindowStandardPanel}"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition /> </Grid.RowDefinitions> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Top"> <TextBlock Style="{StaticResource StandardTextView}" FontSize="{StaticResource FontLevel1}" Text="{Binding LogIn, Source={StaticResource LanguageSystem}}" /> <Button Style="{StaticResource StandardInput}" Foreground="Red" Command="{Binding CloseCommand}">❌</Button> </StackPanel> <StackPanel Grid.Row="1"> <TextBox Style="{StaticResource StandardTextInput}" Text="{Binding AvatarID, Source={StaticResource Configure}, UpdateSourceTrigger=PropertyChanged}" KeyDown="OnInputLower" materialDesign:HintAssist.Hint="{Binding AvatarID, Source={StaticResource LanguageSystem}}" /> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <PasswordBox Style="{StaticResource StandardPwInput}" x:Name="InputCipher" KeyDown="OnInputLower" materialDesign:HintAssist.Hint="{Binding AvatarCipher, Source={StaticResource LanguageSystem}}" /> <Button Grid.Column="1" Style="{StaticResource StandardInput}" Command="{Binding LogInCommand}" Content="{Binding LogIn, Source={StaticResource LanguageSystem}}" /> </Grid> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <CheckBox Style="{StaticResource StandardVInput}" IsChecked="{Binding AutoLogIn, Source={StaticResource Configure}}" Content="{Binding AutoLogIn, Source={StaticResource LanguageSystem}}" /> <Button Grid.Column="1" Style="{StaticResource StandardInput}" Command="{Binding EnrollCommand}" Content="{Binding Enroll, Source={StaticResource LanguageSystem}}" /> </Grid> </StackPanel> </Grid> </Border> </Grid> </Grid>