|
|
@@ -0,0 +1,83 @@
|
|
|
+ <UserControl x:Class="OHV.Module.Interactivity.PopUp.SteeringConfigView"
|
|
|
+ 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:OHV.Module.Interactivity.PopUp"
|
|
|
+ xmlns:prism="http://prismlibrary.com/"
|
|
|
+ xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
+ prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ Width="800"
|
|
|
+ Height="600"
|
|
|
+ Background="#455a64">
|
|
|
+
|
|
|
+ <prism:Dialog.WindowStyle>
|
|
|
+ <Style TargetType="Window">
|
|
|
+ <Setter Property="prism:Dialog.WindowStartupLocation" Value="CenterScreen" />
|
|
|
+ <Setter Property="Background" Value="Transparent"/>
|
|
|
+ <Setter Property="AllowsTransparency" Value="True"/>
|
|
|
+ <Setter Property="ResizeMode" Value="NoResize"/>
|
|
|
+ <Setter Property="WindowStyle" Value="None"/>
|
|
|
+ <Setter Property="BorderThickness" Value="1"/>
|
|
|
+ <Setter Property="BorderBrush" Value="{DynamicResource BorderSolidNormal}"/>
|
|
|
+ <Setter Property="Template" Value="{DynamicResource WindowTemplateKey}"/>
|
|
|
+
|
|
|
+ <!--<Style.Triggers>
|
|
|
+ <Trigger Property="ResizeMode" Value="CanResizeWithGrip">
|
|
|
+ <Setter Property="Template" Value="{StaticResource WindowTemplateKey}"/>
|
|
|
+ </Trigger>
|
|
|
+ </Style.Triggers>-->
|
|
|
+ </Style>
|
|
|
+ </prism:Dialog.WindowStyle>
|
|
|
+
|
|
|
+ <Grid>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="130"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+
|
|
|
+ <Grid Grid.Column="0" Margin="15" Background="#37474f">
|
|
|
+ <StackPanel>
|
|
|
+ <Border Margin="15" HorizontalAlignment="Left" VerticalAlignment="Bottom"
|
|
|
+ Height="250"
|
|
|
+ Width="250">
|
|
|
+ <!--<Border.Background>
|
|
|
+ --><!--<ImageBrush ImageSource="HokuyoReader.png"/>--><!--
|
|
|
+ </Border.Background>-->
|
|
|
+ </Border>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid Grid.Column="1" Background="#263238">
|
|
|
+ <Border Margin="1" BorderBrush="#FF00FFD3" BorderThickness="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
|
|
|
+ <StackPanel>
|
|
|
+ <Button Margin="5" HorizontalAlignment="Stretch" Height="69"
|
|
|
+ BorderBrush="Gray" BorderThickness="2"
|
|
|
+ Command="{Binding SteeringConnectCommand}" CommandParameter="true">
|
|
|
+ <StackPanel>
|
|
|
+ <!--<materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
+ <TextBlock Text="Connect" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button Margin="5" HorizontalAlignment="Stretch" Height="69"
|
|
|
+ BorderBrush="Gray" BorderThickness="2"
|
|
|
+ Command="{Binding SteeringDisConnectCommand}" CommandParameter="true">
|
|
|
+ <StackPanel>
|
|
|
+ <!--<materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>-->
|
|
|
+ <TextBlock Text="Disonnect" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+
|
|
|
+ <Button Margin="5,50" HorizontalAlignment="Stretch" Height="Auto" BorderBrush="Gray" BorderThickness="2"
|
|
|
+ Command="{Binding CloseDialogCommand}" CommandParameter="true">
|
|
|
+ <StackPanel>
|
|
|
+ <materialDesign:PackIcon Kind="ExitToApp" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="42" Width="auto"/>
|
|
|
+ <TextBlock Text="Close" VerticalAlignment="Stretch" HorizontalAlignment="Center" />
|
|
|
+ </StackPanel>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+ </Grid>
|
|
|
+</UserControl>
|