alielie
2025-06-12 c1c3772a11b1f3fbad8846cc714120771d85fa53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<UserControl x:Class="Plugin.SeqEditor.SettingPanel.ActionPanel"
             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:Plugin.SeqEditor.SettingPanel"
             mc:Ignorable="d" 
             xmlns:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
             xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
             xmlns:ui="clr-namespace:HMI.UI;assembly=HMI.UI"
             xmlns:pw="https://opensource.panuon.com/wpf"
             xmlns:pu="https://opensource.panuon.com/wpf-ui"
             xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
             Padding="5"
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <StackPanel>
            <pu:FormGroup Header="{DynamicResource se.stepName}" Orientation="Vertical" 
                          Style="{StaticResource InputFormGroupStyle}">
                <TextBox IsReadOnly="True" Style="{StaticResource EditorTextBoxStyle}" Text="{Binding Name}" />
            </pu:FormGroup>
 
            <pu:FormGroup Header="{DynamicResource se.stepType}" Orientation="Vertical" 
                          Style="{StaticResource InputFormGroupStyle}">
                <TextBox IsReadOnly="True" Style="{StaticResource EditorTextBoxStyle}" Text="{Binding Type,Mode=OneWay}" />
            </pu:FormGroup>
 
            <pu:FormGroup Header="{DynamicResource se.runMode}" Orientation="Vertical" 
                          Style="{StaticResource InputFormGroupStyle}">
 
                <ComboBox x:Name="CbRunMode" Style="{StaticResource FormComboxStyle}"
                          VirtualizingPanel.IsVirtualizing="True"
                SelectedValue="{Binding RunMode}" 
            DisplayMemberPath="DisplayName" SelectedValuePath="DataValue"/>
            </pu:FormGroup>
 
            <!--<pu:FormGroup Header="{DynamicResource se.adapter}" 
        Orientation="Vertical"
        Style="{StaticResource InputFormGroupStyle}">
                <ComboBox x:Name="CbAdapter" Style="{StaticResource FormComboxStyle}" IsEnabled="False" SelectedValue="{Binding Adapter}" 
                          DisplayMemberPath="DisplayName" SelectedValuePath="DataValue"/>
            </pu:FormGroup>-->
        </StackPanel>
    </Grid>
</UserControl>