<ContentDialog xmlns:loc="using:XFEWarframe.Desktop.Editing" x:Class="XFEWarframe.Player.Views.Dialogs.IdentityDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="{loc:Translate Key=ui_43568cc7ca8aa41e}" PrimaryButtonText="{x:Bind ViewModel.SubmitLabel, Mode=OneWay}" CloseButtonText="{loc:Translate Key=ui_2cd0f3be8738a86c}" DefaultButton="Close" PrimaryButtonClick="Submit" Closed="ClosedDialog">
 <StackPanel Spacing="16" MinWidth="340"><ComboBox Header="{loc:Translate Key=ui_dc9aed464cd8994e}" ItemsSource="{x:Bind ViewModel.Operations}" DisplayMemberPath="Label" SelectedItem="{x:Bind ViewModel.Operation, Mode=TwoWay}" HorizontalAlignment="Stretch"/>
 <TextBlock Text="{x:Bind ViewModel.Warning, Mode=OneWay}" TextWrapping="Wrap"/>
 <TextBox Header="{x:Bind ViewModel.ValueLabel, Mode=OneWay}" Text="{x:Bind ViewModel.Value, Mode=TwoWay}" MaxLength="254" Visibility="{x:Bind ViewModel.ValueVisibility, Mode=OneWay}"/>
 <StackPanel Spacing="12" Visibility="{x:Bind ViewModel.PasswordVisibility, Mode=OneWay}"><PasswordBox Header="{loc:Translate Key=ui_515e9c7cf7b29c98}" Password="{x:Bind ViewModel.NewPassword, Mode=TwoWay}" MaxLength="256"/><PasswordBox Header="{loc:Translate Key=ui_b3c58fe4d450cf7a}" Password="{x:Bind ViewModel.Confirmation, Mode=TwoWay}" MaxLength="256"/></StackPanel>
 <PasswordBox Header="{loc:Translate Key=ui_a114cfb687e67c69}" Password="{x:Bind ViewModel.Password, Mode=TwoWay}" MaxLength="256"/>
 <TextBlock Text="{x:Bind ViewModel.Error, Mode=OneWay}" Foreground="{ThemeResource SystemFillColorCriticalBrush}" TextWrapping="Wrap"/>
 </StackPanel>
</ContentDialog>
