mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Port only MVVM work and related fixes
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
<UserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
<ReactiveUserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
|
||||
x:Class="RedBookPlayer.GUI.Views.PlayerView" Width="900" Height="400">
|
||||
xmlns:rxui="clr-namespace:Avalonia;assembly=Avalonia.ReactiveUI"
|
||||
xmlns:viewModels="clr-namespace:RedBookPlayer.GUI.ViewModels;assembly=RedBookPlayer.GUI"
|
||||
x:Class="RedBookPlayer.GUI.Views.PlayerView" Width="900" Height="400" Background="White">
|
||||
<ReactiveUserControl.ViewModel>
|
||||
<viewModels:PlayerViewModel/>
|
||||
</ReactiveUserControl.ViewModel>
|
||||
<StackPanel Margin="16" VerticalAlignment="Center">
|
||||
<Button Command="{Binding LoadCommand}" Margin="32,0,32,16">Load</Button>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,0,0,16">
|
||||
@@ -101,4 +106,4 @@
|
||||
<TextBlock Margin="0,0,16,0" Text="{Binding Volume}"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
</ReactiveUserControl>
|
||||
Reference in New Issue
Block a user