프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseByStatusView.xaml @ 31f18afa

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

1
<UserControl x:Class="Markus.Service.StationController.Views.DataBaseByStatusView"
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
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
8
              xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
9
              xmlns:vm="clr-namespace:Markus.Service.StationController.ViewModel"
10
             d:DesignHeight="450" d:DesignWidth="800">
11
    <UserControl.DataContext>
12
        <vm:AliveViewModel/>
13
    </UserControl.DataContext>
14
    <i:Interaction.Triggers>
15
        <i:EventTrigger  EventName="Loaded">
16
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
17
        </i:EventTrigger>
18
        <i:EventTrigger  EventName="Unloaded">
19
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
20
        </i:EventTrigger>
21
    </i:Interaction.Triggers>
22
    <Grid>
23
        <Grid.RowDefinitions>
24
            <RowDefinition Height="*"/>
25
            <RowDefinition Height="Auto"/>
26
        </Grid.RowDefinitions>
27
        <telerik:RadGridView ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False"
28
                  x:Name="DataGrid" ScrollViewer.CanContentScroll="False">
29
            <telerik:RadGridView.Columns>
30
                <telerik:GridViewDataColumn  Header="Service ID" DataMemberBinding="{Binding ServiceID}"/>
31
                <telerik:GridViewDataColumn  Header="Convert ID" DataMemberBinding="{Binding ConvertID}"/>
32
                <telerik:GridViewDataColumn  Header="Project No" DataMemberBinding="{Binding ProjectNumber}"/>
33
                <telerik:GridViewDataColumn  Header="Status" DataMemberBinding="{Binding ConvertState}"/>
34
                <telerik:GridViewDataColumn  Header="Current Page" DataMemberBinding="{Binding CurrentPageNo}"/>
35
                <telerik:GridViewDataColumn  Header="TotalPage" DataMemberBinding="{Binding TotalPage}"/>
36
                <telerik:GridViewDataColumn  Header="Originfile" DataMemberBinding="{Binding OriginfilePath}"/>
37
                <telerik:GridViewDataColumn  Header="Output Path" DataMemberBinding="{Binding ConvertPath}"/>
38
            </telerik:RadGridView.Columns>
39
        </telerik:RadGridView>
40
        <ProgressBar Grid.Row="1" IsIndeterminate="{Binding IsLoading}" Height="5"/>
41
    </Grid>
42
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)