41 lines
2.2 KiB
XML
41 lines
2.2 KiB
XML
<Page x:Class="ClientApp.Views.MainView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:ClientApp.Views"
|
|
xmlns:converter="clr-namespace:ClientApp.ValueConverters"
|
|
ShowsNavigationUI="False"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<Page.Resources>
|
|
<converter:BoolToMarkConverter x:Key="BoolToMarkConverter"/>
|
|
</Page.Resources>
|
|
<DockPanel>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
<StackPanel Grid.Column="0" Grid.Row="0" Orientation="Horizontal" Margin="20" HorizontalAlignment="Center">
|
|
<Label Content="Connected to server:" VerticalAlignment="Center"/>
|
|
<Image Source="{Binding Converter={StaticResource BoolToMarkConverter},Path=MainWindowViewModel.InfoModel.ConnectedToServer}" Stretch="Uniform" Width="20" Height="20"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal" Margin="20" HorizontalAlignment="Center">
|
|
<Label Content="Connected to VR-Engine:" VerticalAlignment="Center"/>
|
|
<Image Source="{Binding Converter={StaticResource BoolToMarkConverter},Path=MainWindowViewModel.InfoModel.ConnectedToVREngine}" Stretch="Uniform" Width="20" Height="20"/>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Column="2" Grid.Row="0" Orientation="Horizontal" Margin="20" HorizontalAlignment="Center">
|
|
<Label Content="Doctor connected:" VerticalAlignment="Center"/>
|
|
<Image Source="{Binding Converter={StaticResource BoolToMarkConverter},Path=MainWindowViewModel.InfoModel.DoctorConnected}" Stretch="Uniform" Width="20" Height="20"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
</DockPanel>
|
|
</Page>
|