mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-25 14:04:12 +08:00
68 lines
5.0 KiB
Plaintext
68 lines
5.0 KiB
Plaintext
![]() |
<UserControl 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"
|
||
|
xmlns:viewModels="clr-namespace:detect.gui.ViewModels"
|
||
|
xmlns:cvt="clr-namespace:detect.gui.Converters"
|
||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||
|
x:Class="detect.gui.Views.UserView"
|
||
|
x:DataType="viewModels:UserViewModel">
|
||
|
<UserControl.Resources>
|
||
|
<cvt:IndexToBoolConverter x:Key="IndexToBoolConverter"/>
|
||
|
</UserControl.Resources>
|
||
|
<Border x:Name="WebView" Loaded="OnLoaded" Unloaded="OnUnloaded" SizeChanged="OnSizeChanged" />
|
||
|
<!-- <Grid ColumnDefinitions="Auto, 0, *"> -->
|
||
|
<!-- <Border Grid.Column="0"> -->
|
||
|
<!-- <Border.Background> -->
|
||
|
<!-- <SolidColorBrush Color="#2D77F3" Opacity="0.4"></SolidColorBrush> -->
|
||
|
<!-- </Border.Background> -->
|
||
|
<!-- <Grid Margin="10,20, 10, 0"> -->
|
||
|
<!-- <StackPanel Orientation="Vertical" VerticalAlignment="Top"> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-region" Content="区域管理" -->
|
||
|
<!-- Name="RegionButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=0}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="0" /> -->
|
||
|
<!-- <Border Height="10" /> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-device" Content="设备管理" -->
|
||
|
<!-- x:Name="DeviceButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=1}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="1" /> -->
|
||
|
<!-- <Border Height="10" /> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-storage" Content="存储计划" -->
|
||
|
<!-- x:Name="StorageButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=2}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="2" /> -->
|
||
|
<!-- <Border Height="10" /> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-algo" Content="算法设置" -->
|
||
|
<!-- x:Name="AlgoButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=3}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="3" /> -->
|
||
|
<!-- <Border Height="10" /> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-config" Content="系统设置" -->
|
||
|
<!-- x:Name="SettingButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=4}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="4" /> -->
|
||
|
<!-- <Border Height="10" /> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-user" Content="用户管理" -->
|
||
|
<!-- x:Name="UserButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=5}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="5" /> -->
|
||
|
<!-- <Border Height="10" /> -->
|
||
|
<!-- <RadioButton GroupName="LeftSideBar" Classes="tab-left settings-log" Content="系统日志" -->
|
||
|
<!-- x:Name="LogButton" -->
|
||
|
<!-- IsChecked="{Binding CurrentModule, Converter={StaticResource IndexToBoolConverter}, ConverterParameter=6}" -->
|
||
|
<!-- Command="{Binding ModuleClickCommand}" -->
|
||
|
<!-- CommandParameter="6" /> -->
|
||
|
<!-- </StackPanel> -->
|
||
|
<!-- </Grid> -->
|
||
|
<!-- </Border> -->
|
||
|
<!-- <Border Grid.Column="2" x:Name="WebView" Loaded="OnLoaded" Unloaded="OnUnloaded" SizeChanged="OnSizeChanged" /> -->
|
||
|
<!-- </Grid> -->
|
||
|
</UserControl>
|