demo_trade/Views/MainWindow.axaml

22 lines
946 B
Plaintext
Raw Permalink Normal View History

2024-10-04 12:41:04 +00:00
<Window xmlns="https://github.com/avaloniaui"
xmlns:rxui="http://reactiveui.net"
xmlns:app="clr-namespace:demo_trade"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:demo_trade.ViewModels"
xmlns:local="clr-namespace:demo_trade.UI.Converters;assembly=demo_trade.UI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="demo_trade.Views.MainWindow"
x:DataType="vm:MainWindowViewModel"
Icon="/Assets/avalonia-logo.ico"
Title="demo_trade">
<DockPanel>
<rxui:RoutedViewHost Router="{Binding Router}" DockPanel.Dock="Right" Background="AliceBlue">
<rxui:RoutedViewHost.ViewLocator>
<app:ViewLocator />
</rxui:RoutedViewHost.ViewLocator>
</rxui:RoutedViewHost>
</DockPanel>
</Window>