InputDialog.axaml 1.0 KB

123456789101112131415161718
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d"
  6. x:Class="Ryujinx.Ava.Ui.Controls.InputDialog">
  7. <Grid HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="5,10,5, 5">
  8. <Grid.RowDefinitions>
  9. <RowDefinition Height="Auto" />
  10. <RowDefinition Height="Auto" />
  11. <RowDefinition Height="Auto" />
  12. </Grid.RowDefinitions>
  13. <TextBlock HorizontalAlignment="Center" Text="{Binding Message}" />
  14. <TextBox MaxLength="{Binding MaxLength}" Grid.Row="1" Margin="10" Width="300" HorizontalAlignment="Center"
  15. Text="{Binding Input, Mode=TwoWay}" />
  16. <TextBlock Grid.Row="2" Margin="5, 5, 5, 10" HorizontalAlignment="Center" Text="{Binding SubMessage}" />
  17. </Grid>
  18. </UserControl>