프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseByStatusView.xaml @ 06f13e11

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

1 6f6e7dbf taeseongkim
<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:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
8
              xmlns:vm="clr-namespace:Markus.Service.StationController.ViewModel"
9
              xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
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
        <DataGrid ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False"
28
                  x:Name="DataGrid" ScrollViewer.CanContentScroll="False">
29
            <DataGrid.Columns>
30 06f13e11 taeseongkim
                <materialDesign:MaterialDataGridTextColumn Header="Service ID" Binding="{Binding ServiceID}"/>
31 6f6e7dbf taeseongkim
                <materialDesign:MaterialDataGridTextColumn Header="Convert ID" Binding="{Binding ConvertID}"/>
32
                <materialDesign:MaterialDataGridTextColumn Header="Project No" Binding="{Binding ProjectNumber}"/>
33
                <materialDesign:MaterialDataGridTextColumn Header="Status" Binding="{Binding ConvertState}"/>
34
                <materialDesign:MaterialDataGridTextColumn Header="Current Page" Binding="{Binding CurrentPageNo}"/>
35
                <materialDesign:MaterialDataGridTextColumn Header="TotalPage" Binding="{Binding TotalPage}"/>
36
                <materialDesign:MaterialDataGridTextColumn Header="Originfile" Binding="{Binding OriginfilePath}"/>
37
                <materialDesign:MaterialDataGridTextColumn Header="Output Path" Binding="{Binding ConvertPath}"/>
38
            </DataGrid.Columns>
39
        </DataGrid>
40
        <ProgressBar Grid.Row="1" IsIndeterminate="{Binding IsLoading}" Height="5"/>
41
    </Grid>
42
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)