프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / MergeDataView.xaml @ b63dcfbb

이력 | 보기 | 이력해설 | 다운로드 (3.87 KB)

1 31f18afa taeseongkim
<UserControl xmlns:Views="clr-namespace:Markus.Service.StationController.Views" 
2
             x:Class="Markus.Service.StationController.Views.MergeDataView"
3 6f6e7dbf taeseongkim
             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 b92f142f taeseongkim
             xmlns:markus="clr-namespace:Markus.Message;assembly=Markus.Message"
8 31f18afa taeseongkim
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
9 6f6e7dbf taeseongkim
             xmlns:local="clr-namespace:Markus.Service.StationController.ViewModel"
10 f363a40e taeseongkim
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
11 60723dc9 taeseongkim
             xmlns:Behaviors="clr-namespace:Markus.Service.StationController.Behaviors"
12 3aafb914 taeseongkim
             mc:Ignorable="d" Background="White"
13 5113a44c taeseongkim
             xmlns:viewmodel="clr-namespace:Markus.Service.StationController.ViewModel"
14 6f6e7dbf taeseongkim
             d:DesignHeight="450" d:DesignWidth="800">
15 f363a40e taeseongkim
    <UserControl.Resources>
16 5113a44c taeseongkim
        <viewmodel:MergeDataViewModel x:Key="ViewModel"/>
17 3aafb914 taeseongkim
        <Behaviors:StatusTypeList x:Key="ErrorFilter">
18 f363a40e taeseongkim
            <markus:StatusCodeType>Error</markus:StatusCodeType>
19 5113a44c taeseongkim
            <markus:StatusCodeType>FileError</markus:StatusCodeType>
20
            <markus:StatusCodeType>PageError</markus:StatusCodeType>
21
        </Behaviors:StatusTypeList>
22 3aafb914 taeseongkim
        <Behaviors:StatusTypeList x:Key="ComplatedFilter">
23 f363a40e taeseongkim
            <markus:StatusCodeType>Completed</markus:StatusCodeType>
24 3aafb914 taeseongkim
        </Behaviors:StatusTypeList>
25 f363a40e taeseongkim
    </UserControl.Resources>
26 6f6e7dbf taeseongkim
    <Grid>
27
        <Grid.RowDefinitions>
28
            <RowDefinition Height="3.5*"/>
29
            <RowDefinition Height="3.5*"/>
30
            <RowDefinition Height="3.5*"/>
31
        </Grid.RowDefinitions>
32 31f18afa taeseongkim
            <GroupBox Header="Service Alive Items" Margin="3" BorderThickness="0">
33 b92f142f taeseongkim
                <Views:AliveView />
34 6f6e7dbf taeseongkim
        </GroupBox>
35 5113a44c taeseongkim
        <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 f363a40e taeseongkim
                <i:Interaction.Behaviors>
57 3aafb914 taeseongkim
                    <Behaviors:StatusTypeSet StatusTypes="{StaticResource ErrorFilter}"/>
58 f363a40e taeseongkim
                </i:Interaction.Behaviors>
59 60723dc9 taeseongkim
            </Views:DataBaseByStatusView>
60 3aafb914 taeseongkim
        </GroupBox> 
61 31f18afa taeseongkim
        <GroupBox Header="Completed Items"  Grid.Row="2" Margin="3" BorderThickness="0">
62 60723dc9 taeseongkim
            <Views:DataBaseByStatusView>
63 3aafb914 taeseongkim
                <i:Interaction.Behaviors>
64
                    <Behaviors:StatusTypeSet StatusTypes="{StaticResource ComplatedFilter}"/>
65
                </i:Interaction.Behaviors>
66 60723dc9 taeseongkim
            </Views:DataBaseByStatusView>
67 6f6e7dbf taeseongkim
        </GroupBox>
68
        
69
    </Grid>
70
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)