Menu.axaml 931 B

1234567891011121314151617
  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" d:DesignWidth="800" d:DesignHeight="450"
  6. xmlns:vm="using:TourAgent.ViewModels"
  7. x:DataType="vm:MainWindowViewModel"
  8. x:Class="TourAgent.Views.Menu"
  9. FontFamily="{StaticResource Comic}">
  10. <Grid>
  11. <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
  12. <Button Command="{Binding ChangePageToHotels}" HorizontalContentAlignment="Center" Content="Просмотр отелей" Width="150"/>
  13. <Button Command="{Binding ChangePageToTours}" HorizontalContentAlignment="Center" Margin="0,20,0,0" Content="Просмотр туров" Width="150"/>
  14. </StackPanel>
  15. </Grid>
  16. </UserControl>