<Grid x:Class="Qwilight.View.EnrollWindow" 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 EnrollValue, 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"> <TextBlock Style="{StaticResource StandardTextView}" FontSize="{StaticResource FontLevel1}" Text="{Binding Enroll, 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, UpdateSourceTrigger=PropertyChanged}" materialDesign:HintAssist.Hint="{Binding AvatarID, Source={StaticResource LanguageSystem}}" KeyDown="OnInputLower" /> <PasswordBox Style="{StaticResource StandardPwInput}" x:Name="InputCipher" materialDesign:HintAssist.Hint="{Binding AvatarCipher, Source={StaticResource LanguageSystem}}" KeyDown="OnInputLower" /> <PasswordBox Style="{StaticResource StandardPwInput}" x:Name="InputCipherTest" materialDesign:HintAssist.Hint="{Binding AvatarCipherTest, Source={StaticResource LanguageSystem}}" KeyDown="OnInputLower" /> <TextBox Style="{StaticResource StandardTextInput}" Text="{Binding AvatarName, UpdateSourceTrigger=PropertyChanged}" materialDesign:HintAssist.Hint="{Binding AvatarName, Source={StaticResource LanguageSystem}}" KeyDown="OnInputLower" MaxLength="16" /> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <TextBox Style="{StaticResource StandardTextInput}" Text="{Binding Fax, UpdateSourceTrigger=PropertyChanged}" materialDesign:HintAssist.Hint="{Binding Fax, Source={StaticResource LanguageSystem}}" KeyDown="OnInputLower" /> <Button Grid.Column="1" Style="{StaticResource StandardInput}" Command="{Binding EnrollCommand}" Content="{Binding Enroll, Source={StaticResource LanguageSystem}}" HorizontalAlignment="Center" /> </Grid> </StackPanel> </Grid> </Border> </Grid> </Grid>