| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <UserControl
- x:Class="SHJX.Service.Shell.Views.Manual.OtherManualWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
- xmlns:local="clr-namespace:SHJX.Service.Shell.Views.Manual"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:prism="http://prismlibrary.com/"
- xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
- d:DesignHeight="800"
- d:DesignWidth="900"
- prism:ViewModelLocator.AutoWireViewModel="True"
- mc:Ignorable="d">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Loaded">
- <i:InvokeCommandAction Command="{Binding LoadedCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="1*" />
- <RowDefinition Height="6*" />
- </Grid.RowDefinitions>
- <GroupBox
- Grid.Row="0"
- Width="800"
- Height="100"
- Margin="0,5,0,5"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- pu:GroupBoxHelper.CornerRadius="8"
- pu:GroupBoxHelper.IsSplitLineVisible="True"
- pu:GroupBoxHelper.ShadowColor="LightGray"
- Header="手动校准">
- <StackPanel Orientation="Horizontal">
- <TextBlock
- Margin="10,0,0,0"
- VerticalAlignment="Center"
- FontWeight="UltraBlack"
- Text="k值校准:" />
- <ComboBox
- Name="cmb_wave"
- Width="150"
- Height="30"
- pu:ComboBoxHelper.CornerRadius="7"
- pu:ComboBoxHelper.HoverBackground="#1E003366"
- pu:ComboBoxHelper.SelectedBackground="#32006699"
- BorderBrush="#6452A4"
- Cursor="Hand"
- Foreground="#6452A4"
- ItemsSource="{Binding Wavekeys}"
- SelectedIndex="0"
- SelectedItem="{Binding WaveKeyItem}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="SelectionChanged">
- <i:InvokeCommandAction Command="{Binding SelectionChangedCommand}" />
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </ComboBox>
- <TextBox
- Width="150"
- Height="30"
- Margin="10,0,0,0"
- pu:TextBoxHelper.CornerRadius="7"
- pu:TextBoxHelper.FocusedBorderBrush="#B5B5B5"
- pu:TextBoxHelper.FocusedShadowColor="#B5B5B5"
- Cursor="IBeam"
- Text="{Binding CurrentKValue}" />
- <Button
- Width="40"
- Height="40"
- Margin="10,0,0,0"
- pu:ButtonHelper.ClickStyle="Sink"
- pu:ButtonHelper.CornerRadius="20"
- pu:ButtonHelper.HoverBrush="#929FDE"
- Background="#6452A4"
- Command="{Binding AdjustCommand}"
- Content="校准"
- Cursor="Hand"
- FontFamily="{StaticResource FontAwesome}" />
- </StackPanel>
- </GroupBox>
- </Grid>
- </UserControl>
|