Page2.axaml 608 B

123456789101112
  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:vm="using:AvaloniaApplicationPages.ViewModels"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  7. x:DataType="vm:MainWindowViewModel"
  8. x:Class="AvaloniaApplicationPages.Views.Page2">
  9. <StackPanel>
  10. <Button Command="{Binding toPage1}">Назад</Button>
  11. </StackPanel>
  12. </UserControl>