MainWindow.axaml 742 B

1234567891011121314151617181920
  1. <Window xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:vm="using:TeacheresAndCourses.ViewModels"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  7. x:Class="TeacheresAndCourses.Views.MainWindow"
  8. x:DataType="vm:MainWindowViewModel"
  9. Icon="/Assets/avalonia-logo.ico"
  10. Title="TeacheresAndCourses"
  11. WindowState ="Maximized">
  12. <Design.DataContext>
  13. <vm:MainWindowViewModel/>
  14. </Design.DataContext>
  15. <UserControl Content="{Binding Uc}"></UserControl>
  16. </Window>