forked from amkovkov/GranuSightSoftware2
17 lines
1.0 KiB
XML
17 lines
1.0 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local_vm="using:GSS2.Test.ViewModels"
|
|
xmlns:core_vm="using:GSS2.UI.Core.ViewModels"
|
|
xmlns:core="using:GSS2.UI.Core"
|
|
x:DataType="local_vm:MainViewModel"
|
|
x:Class="GSS2.Test.Views.MainView">
|
|
<Grid RowDefinitions="*,*">
|
|
<Grid Grid.Row="0" ColumnDefinitions="*,*,Auto">
|
|
<ContentControl Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Content="{Binding CameraViewModel}" />
|
|
<core:OpenCvImage Grid.Column="1" Image="{Binding Image}" />
|
|
<Button Grid.Column="2" Width="50" VerticalAlignment="Stretch" Command="{Binding ButtonClick}"/>
|
|
</Grid>
|
|
<ContentControl Grid.Row="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Content="{Binding ResourcesViewModel}" />
|
|
</Grid>
|
|
</UserControl> |