markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / MergeDataView.xaml @ 8c7d1ea1
이력 | 보기 | 이력해설 | 다운로드 (3.87 KB)
1 |
<UserControl xmlns:Views="clr-namespace:Markus.Service.StationController.Views" |
---|---|
2 |
x:Class="Markus.Service.StationController.Views.MergeDataView" |
3 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 |
xmlns:markus="clr-namespace:Markus.Message;assembly=Markus.Message" |
8 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
9 |
xmlns:local="clr-namespace:Markus.Service.StationController.ViewModel" |
10 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
11 |
xmlns:Behaviors="clr-namespace:Markus.Service.StationController.Behaviors" |
12 |
mc:Ignorable="d" Background="White" |
13 |
xmlns:viewmodel="clr-namespace:Markus.Service.StationController.ViewModel" |
14 |
d:DesignHeight="450" d:DesignWidth="800"> |
15 |
<UserControl.Resources>
|
16 |
<viewmodel:MergeDataViewModel x:Key="ViewModel"/> |
17 |
<Behaviors:StatusTypeList x:Key="ErrorFilter"> |
18 |
<markus:StatusCodeType>Error</markus:StatusCodeType> |
19 |
<markus:StatusCodeType>FileError</markus:StatusCodeType> |
20 |
<markus:StatusCodeType>PageError</markus:StatusCodeType> |
21 |
</Behaviors:StatusTypeList>
|
22 |
<Behaviors:StatusTypeList x:Key="ComplatedFilter"> |
23 |
<markus:StatusCodeType>Completed</markus:StatusCodeType> |
24 |
</Behaviors:StatusTypeList>
|
25 |
</UserControl.Resources>
|
26 |
<Grid>
|
27 |
<Grid.RowDefinitions>
|
28 |
<RowDefinition Height="3.5*"/> |
29 |
<RowDefinition Height="3.5*"/> |
30 |
<RowDefinition Height="3.5*"/> |
31 |
</Grid.RowDefinitions>
|
32 |
<GroupBox Header="Service Alive Items" Margin="3" BorderThickness="0"> |
33 |
<Views:AliveView /> |
34 |
</GroupBox>
|
35 |
<GroupBox Grid.Row="1" Margin="3" BorderThickness="0"> |
36 |
<GroupBox.HeaderTemplate>
|
37 |
<DataTemplate>
|
38 |
<Grid>
|
39 |
<Grid.ColumnDefinitions>
|
40 |
<ColumnDefinition/> |
41 |
<ColumnDefinition/> |
42 |
</Grid.ColumnDefinitions>
|
43 |
<TextBlock Text="Error Items" Foreground="White"/> |
44 |
<StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right"> |
45 |
<telerik:RadToggleButton Content="ReStart Convert" Margin="2,0" |
46 |
Command="{Binding RestartConvertCommand, Source={StaticResource ViewModel}}" |
47 |
telerik:StyleManager.Theme="Office2016" |
48 |
/>
|
49 |
<telerik:RadToggleButton Content="OriginFile Open" Margin="2,0"/> |
50 |
<telerik:RadToggleButton Content="Output Path Open" Margin="2,0"/> |
51 |
</StackPanel>
|
52 |
</Grid>
|
53 |
</DataTemplate>
|
54 |
</GroupBox.HeaderTemplate>
|
55 |
<Views:DataBaseByStatusView SelectedItem="{Binding ErrorViewSelectItem}"> |
56 |
<i:Interaction.Behaviors>
|
57 |
<Behaviors:StatusTypeSet StatusTypes="{StaticResource ErrorFilter}"/> |
58 |
</i:Interaction.Behaviors>
|
59 |
</Views:DataBaseByStatusView>
|
60 |
</GroupBox>
|
61 |
<GroupBox Header="Completed Items" Grid.Row="2" Margin="3" BorderThickness="0"> |
62 |
<Views:DataBaseByStatusView>
|
63 |
<i:Interaction.Behaviors>
|
64 |
<Behaviors:StatusTypeSet StatusTypes="{StaticResource ComplatedFilter}"/> |
65 |
</i:Interaction.Behaviors>
|
66 |
</Views:DataBaseByStatusView>
|
67 |
</GroupBox>
|
68 |
|
69 |
</Grid>
|
70 |
</UserControl>
|