프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / AliveView.xaml @ a9e86f7a

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

1 0498c12e taeseongkim
<UserControl x:Class="Markus.Service.StationController.Views.AliveView"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
             mc:Ignorable="d" 
7 31f18afa taeseongkim
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
8 0498c12e taeseongkim
              xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
9
              xmlns:vm="clr-namespace:Markus.Service.StationController.ViewModel"
10 1ae729e4 taeseongkim
             xmlns:Behaviors="clr-namespace:Markus.Service.StationController.Behaviors"
11 a34f58f6 taeseongkim
             xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
12
             Background="White"
13 1ae729e4 taeseongkim
             d:DesignHeight="800" d:DesignWidth="800">
14 0498c12e taeseongkim
    <UserControl.DataContext>
15
        <vm:AliveViewModel/>
16
    </UserControl.DataContext>
17
    <i:Interaction.Triggers>
18
        <i:EventTrigger  EventName="Loaded">
19
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
20
        </i:EventTrigger>
21
        <i:EventTrigger  EventName="Unloaded">
22
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
23
        </i:EventTrigger>
24
    </i:Interaction.Triggers>
25
    <Grid>
26
        <Grid.RowDefinitions>
27 a34f58f6 taeseongkim
            <RowDefinition Height="Auto"/>
28 1ae729e4 taeseongkim
            <RowDefinition Height="7*"/>
29 a34f58f6 taeseongkim
            <RowDefinition Height="Auto" MinHeight="150" MaxHeight="200"/>
30 0498c12e taeseongkim
            <RowDefinition Height="Auto"/>
31
        </Grid.RowDefinitions>
32 a34f58f6 taeseongkim
        <Grid>
33
            <Grid.RowDefinitions>
34
                <RowDefinition Height="Auto"/>
35
                <RowDefinition Height="Auto"/>
36
            </Grid.RowDefinitions>
37
            <Grid.ColumnDefinitions>
38
                <ColumnDefinition Width="Auto"/>
39
                <ColumnDefinition Width="Auto"/>
40
            </Grid.ColumnDefinitions>
41
        </Grid>
42
        <Grid>
43
            <Grid.ColumnDefinitions>
44
                <ColumnDefinition/>
45
                <ColumnDefinition/>
46
                <ColumnDefinition/>
47
                <ColumnDefinition/>
48
                <ColumnDefinition/>
49
            </Grid.ColumnDefinitions>
50
            <GroupBox Header="" Margin="3" BorderThickness="0">
51
                <TextBlock/>
52
            </GroupBox>
53
            <GroupBox Header="" Grid.Column="1" Margin="3" BorderThickness="0">
54
                <TextBlock/>
55
            </GroupBox>
56
            <GroupBox Header="" Grid.Column="2" Margin="3" BorderThickness="0">
57
                <TextBlock/>
58
            </GroupBox>
59
            <GroupBox Header="" Grid.Column="3" Margin="3" BorderThickness="0">
60
                <TextBlock/>
61
            </GroupBox>
62
            <GroupBox Header="" Grid.Column="4" Margin="3" BorderThickness="0">
63
                <TextBlock/>
64
            </GroupBox>
65
        </Grid>
66
        <GroupBox Grid.Row="1"
67
                  Header="Alive Items" Margin="3" BorderThickness="0" 
68
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
69
            <telerik:RadGridView ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False"
70 0498c12e taeseongkim
                  x:Name="DataGrid" ScrollViewer.CanContentScroll="False">
71 a34f58f6 taeseongkim
                <telerik:RadGridView.Columns>
72
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
73
                    <telerik:GridViewDataColumn  Header="Service ID" DataMemberBinding="{Binding ServiceID}"/>
74
                    <telerik:GridViewDataColumn  Header="Convert ID" DataMemberBinding="{Binding ConvertID}"/>
75
                    <telerik:GridViewDataColumn  Header="Project No" DataMemberBinding="{Binding ProjectNumber}"/>
76
                    <telerik:GridViewDataColumn  Header="Status" DataMemberBinding="{Binding ConvertState}"/>
77
                    <telerik:GridViewDataColumn  Header="Current Page" DataMemberBinding="{Binding CurrentPageNo}"/>
78
                    <telerik:GridViewDataColumn  Header="TotalPage" DataMemberBinding="{Binding TotalPage}"/>
79
                    <telerik:GridViewDataColumn  Header="Originfile" DataMemberBinding="{Binding OriginfilePath}"/>
80
                    <telerik:GridViewDataColumn  Header="Output Path" DataMemberBinding="{Binding ConvertPath}"/>
81
                </telerik:RadGridView.Columns>
82
            </telerik:RadGridView>
83
        </GroupBox>
84 2decfbdf alzkakdixm
85
        <Grid  Grid.Row="2">
86 1ae729e4 taeseongkim
            <RichTextBox IsReadOnly="True" AllowDrop="False" VerticalScrollBarVisibility="Visible"
87
                         IsUndoEnabled="False" HorizontalScrollBarVisibility="Auto"
88
                         Height="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"
89
                         Width="{Binding ActualWidth, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}">
90
                <controls:TraceDocument PageWidth="{Binding ActualWidth, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"
91
                                        PageHeight="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"/>
92
            </RichTextBox>
93 2decfbdf alzkakdixm
        </Grid>
94
95 a34f58f6 taeseongkim
        <ProgressBar Grid.Row="3" IsIndeterminate="{Binding IsLoading}" Height="5"/>
96 0498c12e taeseongkim
    </Grid>
97
</UserControl>
98 2decfbdf alzkakdixm
    <!--
99
<UserControl x:Class="Markus.Service.StationController.Views.AliveView"
100
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
101
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
102
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
103
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
104
             mc:Ignorable="d" 
105
             Background="White"
106
             d:DesignHeight="800" d:DesignWidth="800">
107
    <Grid>
108

109
    </Grid>
110
</UserControl>
111
    -->
클립보드 이미지 추가 (최대 크기: 500 MB)