MainPage.axaml 806 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. xmlns:vm="using:AvaloniaApplication4.ViewModels"
  6. x:DataType="vm:MainPageViewModel"
  7. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  8. x:Class="AvaloniaApplication4.Views.MainPage">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="1*"/>
  12. <ColumnDefinition Width="3*"/>
  13. </Grid.ColumnDefinitions>
  14. <UserControl Content="{Binding MenuUserControl}" Grid.Column="0"/>
  15. <UserControl Content="{Binding GlobalsData.GlobalUserControl}" Grid.Column="1"/>
  16. </Grid>
  17. </UserControl>