프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / MainWindow.xaml @ dbc1e5b6

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

1 53c9637d taeseongkim
<Window x:Class="Markus.Service.StationController.MainWindow"
2 ed79bff0 taeseongkim
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
3
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
        xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
6
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
7
        xmlns:materialEx="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions"
8 53c9637d taeseongkim
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
9
        TextElement.Foreground="{DynamicResource MaterialDesignBody}"
10 ed79bff0 taeseongkim
        mc:Ignorable="d"
11
        xmlns:local="clr-namespace:Markus.Service.StationController.ViewModel"
12
        Title="Markus Convert Service" Height="450" Width="800" Foreground="{DynamicResource {x:Static SystemColors.MenuHighlightBrushKey}}">
13
    <Window.DataContext>
14
        <local:MainViewModel/>
15
    </Window.DataContext>
16
        <materialDesign:DialogHost x:Name="m_dialogHost" Identifier="dialogHost" DialogTheme="Light">
17
            <materialDesign:DrawerHost IsLeftDrawerOpen="{Binding Path=IsNavigationDrawerOpen, ElementName=appBar}" LeftDrawerBackground="{DynamicResource MaterialDesignBackground}">
18 a537d79a taeseongkim
                <!--<materialDesign:DrawerHost.LeftDrawerContent>
19 ed79bff0 taeseongkim
                <materialEx:SideNavigation Items="{Binding NavigationItems,Mode=OneTime}" Width="280"/>
20 a537d79a taeseongkim
                </materialDesign:DrawerHost.LeftDrawerContent>-->
21 ed79bff0 taeseongkim
                <Grid>
22
                    <Grid.ColumnDefinitions>
23 a537d79a taeseongkim
                        <ColumnDefinition Width="Auto" />
24 ed79bff0 taeseongkim
                        <ColumnDefinition Width="100*" />
25
                    </Grid.ColumnDefinitions>
26
                    <Grid.RowDefinitions>
27
                        <RowDefinition Height="Auto" />
28
                        <RowDefinition Height="*" />
29
                    </Grid.RowDefinitions>
30 a537d79a taeseongkim
                    <!--<materialEx:AppBar x:Name="appBar" Grid.ColumnSpan="2" Title="MARKUS CONVERT SERVICE" ShowNavigationDrawerButton="True">
31 ed79bff0 taeseongkim
                        <Button Style="{StaticResource MaterialDesignToolForegroundButton}" Margin="8,0" ToolTip="Material Design Exentions on GitHub">
32
                        </Button>
33
                        <Button Style="{StaticResource MaterialDesignToolForegroundButton}" Margin="8,0" ToolTip="Documentation">
34
                        </Button>
35 a537d79a taeseongkim
                    </materialEx:AppBar>-->
36 ed79bff0 taeseongkim
                <!--<Border Grid.Row="1" BorderThickness="0,0,1,0" BorderBrush="{DynamicResource MaterialDesignDivider}">
37
                    <materialEx:SideNavigation Items="{Binding NavigationItems,Mode=OneTime}" DataContext="{Binding Mode=OneWay}"/>
38
                </Border>-->
39
                <Grid Grid.Column="1" Grid.Row="1">
40 a537d79a taeseongkim
                    <DataGrid  ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False"
41 53c9637d taeseongkim
                  x:Name="DataGrid" ScrollViewer.CanContentScroll="False">
42 a537d79a taeseongkim
                        <DataGrid.Columns>
43
                            <materialDesign:MaterialDataGridTextColumn Header="Convert ID" Binding="{Binding ConvertID}"/>
44
                            <materialDesign:MaterialDataGridTextColumn Header="Project No" Binding="{Binding ProjectNumber}"/>
45
                            <materialDesign:MaterialDataGridTextColumn Header="Status" Binding="{Binding ConvertState}"/>
46
                            <materialDesign:MaterialDataGridTextColumn Header="Current Page" Binding="{Binding CurrentPageNo}"/>
47
                            <materialDesign:MaterialDataGridTextColumn Header="TotalPage" Binding="{Binding TotalPage}"/>
48
49
                            <materialDesign:MaterialDataGridTextColumn Header="Originfile" Binding="{Binding OriginfilePath}"/>
50
                            <materialDesign:MaterialDataGridTextColumn Header="Output Path" Binding="{Binding ConvertPath}"/>
51
                        </DataGrid.Columns>
52
                    </DataGrid>
53 ed79bff0 taeseongkim
                </Grid>
54
            </Grid>
55
            </materialDesign:DrawerHost>
56
        </materialDesign:DialogHost>
57 53c9637d taeseongkim
</Window>
클립보드 이미지 추가 (최대 크기: 500 MB)