markus / ConvertService / ServiceBase / Markus.Service.StationController / MainWindow.xaml @ 949d5058
이력 | 보기 | 이력해설 | 다운로드 (4.26 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 | 92442e4a | taeseongkim | <Grid>
|
22 | <Grid.ColumnDefinitions>
|
||
23 | <ColumnDefinition Width="Auto"/> |
||
24 | <ColumnDefinition/> |
||
25 | </Grid.ColumnDefinitions>
|
||
26 | 566f0526 | taeseongkim | <!--<Grid>
|
27 | ed79bff0 | taeseongkim | <Grid.ColumnDefinitions>
|
28 | a537d79a | taeseongkim | <ColumnDefinition Width="Auto" />
|
29 | ed79bff0 | taeseongkim | <ColumnDefinition Width="100*" />
|
30 | </Grid.ColumnDefinitions>
|
||
31 | <Grid.RowDefinitions>
|
||
32 | <RowDefinition Height="Auto" />
|
||
33 | <RowDefinition Height="*" />
|
||
34 | </Grid.RowDefinitions>
|
||
35 | 92442e4a | taeseongkim | <materialEx:AppBar x:Name="appBar" Grid.ColumnSpan="2" Title="MARKUS CONVERT SERVICE" ShowNavigationDrawerButton="True">
|
36 | ed79bff0 | taeseongkim | <Button Style="{StaticResource MaterialDesignToolForegroundButton}" Margin="8,0" ToolTip="Material Design Exentions on GitHub">
|
37 | </Button>
|
||
38 | <Button Style="{StaticResource MaterialDesignToolForegroundButton}" Margin="8,0" ToolTip="Documentation">
|
||
39 | </Button>
|
||
40 | 92442e4a | taeseongkim | </materialEx:AppBar>
|
41 | <Border BorderThickness="0,0,1,0" BorderBrush="{DynamicResource MaterialDesignDivider}">
|
||
42 | 566f0526 | taeseongkim | <materialEx:SideNavigation SelectedItem="{Binding SelectNavigationItem,Mode=TwoWay}" Items="{Binding NavigationItems,Mode=OneTime}" DataContext="{Binding Mode=OneWay}"/>
|
43 | 92442e4a | taeseongkim | </Border>
|
44 | 566f0526 | taeseongkim | </Grid>-->
|
45 | 92442e4a | taeseongkim | <Grid Grid.Column="1"> |
46 | a537d79a | taeseongkim | <DataGrid ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False" |
47 | 53c9637d | taeseongkim | x:Name="DataGrid" ScrollViewer.CanContentScroll="False"> |
48 | a537d79a | taeseongkim | <DataGrid.Columns>
|
49 | <materialDesign:MaterialDataGridTextColumn Header="Convert ID" Binding="{Binding ConvertID}"/> |
||
50 | <materialDesign:MaterialDataGridTextColumn Header="Project No" Binding="{Binding ProjectNumber}"/> |
||
51 | <materialDesign:MaterialDataGridTextColumn Header="Status" Binding="{Binding ConvertState}"/> |
||
52 | <materialDesign:MaterialDataGridTextColumn Header="Current Page" Binding="{Binding CurrentPageNo}"/> |
||
53 | <materialDesign:MaterialDataGridTextColumn Header="TotalPage" Binding="{Binding TotalPage}"/> |
||
54 | |||
55 | <materialDesign:MaterialDataGridTextColumn Header="Originfile" Binding="{Binding OriginfilePath}"/> |
||
56 | <materialDesign:MaterialDataGridTextColumn Header="Output Path" Binding="{Binding ConvertPath}"/> |
||
57 | </DataGrid.Columns>
|
||
58 | </DataGrid>
|
||
59 | ed79bff0 | taeseongkim | </Grid>
|
60 | </Grid>
|
||
61 | 92442e4a | taeseongkim | </materialDesign:DrawerHost>
|
62 | ed79bff0 | taeseongkim | </materialDesign:DialogHost>
|
63 | 53c9637d | taeseongkim | </Window> |