markus / ConvertService / ServiceBase / Markus.Service.StationController / MainWindow.xaml @ dbc1e5b6
이력 | 보기 | 이력해설 | 다운로드 (4.03 KB)
1 |
<Window x:Class="Markus.Service.StationController.MainWindow" |
---|---|
2 |
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 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
9 |
TextElement.Foreground="{DynamicResource MaterialDesignBody}" |
10 |
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 |
<!--<materialDesign:DrawerHost.LeftDrawerContent>
|
19 |
<materialEx:SideNavigation Items="{Binding NavigationItems,Mode=OneTime}" Width="280"/>
|
20 |
</materialDesign:DrawerHost.LeftDrawerContent>-->
|
21 |
<Grid>
|
22 |
<Grid.ColumnDefinitions>
|
23 |
<ColumnDefinition Width="Auto" /> |
24 |
<ColumnDefinition Width="100*" /> |
25 |
</Grid.ColumnDefinitions>
|
26 |
<Grid.RowDefinitions>
|
27 |
<RowDefinition Height="Auto" /> |
28 |
<RowDefinition Height="*" /> |
29 |
</Grid.RowDefinitions>
|
30 |
<!--<materialEx:AppBar x:Name="appBar" Grid.ColumnSpan="2" Title="MARKUS CONVERT SERVICE" ShowNavigationDrawerButton="True">
|
31 |
<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 |
</materialEx:AppBar>-->
|
36 |
<!--<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 |
<DataGrid ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False" |
41 |
x:Name="DataGrid" ScrollViewer.CanContentScroll="False"> |
42 |
<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 |
</Grid>
|
54 |
</Grid>
|
55 |
</materialDesign:DrawerHost>
|
56 |
</materialDesign:DialogHost>
|
57 |
</Window>
|