AddEditPage.xaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Page x:Class="LR1_05._04.AddEditPage"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:LR1_05._04"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="AddEditPage">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="200"/>
  13. <ColumnDefinition Width="*"/>
  14. </Grid.ColumnDefinitions>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="*"/>
  17. <RowDefinition Height="*"/>
  18. <RowDefinition Height="*"/>
  19. <RowDefinition Height="*"/>
  20. </Grid.RowDefinitions>
  21. <TextBlock Text="Название"></TextBlock>
  22. <TextBlock Text="Количество звезд" Grid.Row="1"></TextBlock>
  23. <TextBlock Text="Страна" Grid.Row="2"></TextBlock>
  24. <TextBox MaxLength="100" Grid.Column="1"></TextBox>
  25. <TextBox Grid.Column="1" Grid.Row="1" Width="175" HorizontalAlignment="Left"></TextBox>
  26. <ComboBox Grid.Row="2" Grid.Column="1" x:Name="ComboCountries" DisplayMemberPath="Name"></ComboBox>
  27. <Button Content="Сохранить" Grid.ColumnSpan="2" Grid.Row="3" Name="BtnSave" Click="BtnSave_Click"></Button>
  28. <Button Content="Back" Name="BtnBack" Width="175" Height="30" HorizontalAlignment="Right" Margin="0,-57,0,140" Click="BtnBack_Click" Grid.Column="1"></Button>
  29. </Grid>
  30. </Page>