|
@@ -18,6 +18,12 @@
|
|
|
mc:Ignorable="d" >
|
|
|
<UserControl.Resources>
|
|
|
<local:DisplayNameConvert x:Key="DisplayNameConvert" />
|
|
|
+ <Style TargetType="{x:Type ListBoxItem}">
|
|
|
+ <Setter Property="Margin" Value="0,-2,0,-2"/>
|
|
|
+ <Style.Triggers>
|
|
|
+ <Trigger Property="IsSelected" Value="True"/>
|
|
|
+ </Style.Triggers>
|
|
|
+ </Style>
|
|
|
<DataTemplate x:Key="CommonTemplate">
|
|
|
<TabControl SelectedIndex="{Binding DataContext.SelectedIndexData,RelativeSource={RelativeSource AncestorType=UserControl},UpdateSourceTrigger=PropertyChanged}" Background="{StaticResource Color_BG_Dialog_Inner}" HorizontalContentAlignment="Stretch">
|
|
|
<TabItem Width="180" Header="DI-DO" Visibility="{Binding DataContext.DIDOVisibility,RelativeSource={RelativeSource AncestorType=UserControl},UpdateSourceTrigger=PropertyChanged,Converter={StaticResource bool2VisibilityConverter}}">
|
|
@@ -39,7 +45,7 @@
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.INViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.INViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -85,7 +91,7 @@
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black"
|
|
|
+ Foreground="Black"
|
|
|
ItemsSource="{Binding DataContext.OutViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
@@ -156,7 +162,7 @@
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -199,7 +205,7 @@
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AOViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AOViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -402,7 +408,7 @@ IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataCont
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.INViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.INViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -453,7 +459,7 @@ IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataCont
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.OutViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.OutViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -524,7 +530,7 @@ IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataCont
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -574,7 +580,7 @@ Source="/FurnaceUI;component/Resources/Images/Controls3/bg1.png" />-->
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AOViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AOViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -647,7 +653,7 @@ Source="/FurnaceUI;component/Resources/Images/Controls3/bg1.png" />-->
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.INViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.INViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -703,7 +709,7 @@ Source="/FurnaceUI;component/Resources/Images/Controls3/bg1.png" />-->
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.OutViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.OutViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -773,7 +779,7 @@ Source="/FurnaceUI;component/Resources/Images/Controls3/bg1.png" />-->
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -823,7 +829,7 @@ Source="/FurnaceUI;component/Resources/Images/Controls3/bg1.png" />-->
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AOViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AOViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|
|
@@ -1064,7 +1070,7 @@ Source="/FurnaceUI;component/Resources/Images/Controls3/bg1.png" />-->
|
|
|
VerticalContentAlignment="Stretch"
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
|
|
|
ScrollViewer.VerticalScrollBarVisibility="Hidden"
|
|
|
- IsManipulationEnabled="True" Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
+ Foreground="Black" ItemsSource="{Binding DataContext.AIViewSource, RelativeSource={RelativeSource AncestorType=UserControl}}">
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Grid Height="40">
|