markus / ConvertService / ServiceBase / Markus.Service.StationController / MainWindow.xaml @ 92442e4a
이력 | 보기 | 이력해설 | 다운로드 (4.19 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/> |
25 |
</Grid.ColumnDefinitions>
|
26 |
<Grid>
|
27 |
<Grid.ColumnDefinitions>
|
28 |
<ColumnDefinition Width="Auto" /> |
29 |
<ColumnDefinition Width="100*" /> |
30 |
</Grid.ColumnDefinitions>
|
31 |
<Grid.RowDefinitions>
|
32 |
<RowDefinition Height="Auto" /> |
33 |
<RowDefinition Height="*" /> |
34 |
</Grid.RowDefinitions>
|
35 |
<materialEx:AppBar x:Name="appBar" Grid.ColumnSpan="2" Title="MARKUS CONVERT SERVICE" ShowNavigationDrawerButton="True"> |
36 |
<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 |
</materialEx:AppBar>
|
41 |
<Border BorderThickness="0,0,1,0" BorderBrush="{DynamicResource MaterialDesignDivider}"> |
42 |
<materialEx:SideNavigation Items="{Binding NavigationItems,Mode=OneTime}" DataContext="{Binding Mode=OneWay}"/> |
43 |
</Border>
|
44 |
</Grid>
|
45 |
<Grid Grid.Column="1"> |
46 |
<DataGrid ItemsSource="{Binding AliveItems}" AutoGenerateColumns="False" |
47 |
x:Name="DataGrid" ScrollViewer.CanContentScroll="False"> |
48 |
<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 |
</Grid>
|
60 |
</Grid>
|
61 |
</materialDesign:DrawerHost>
|
62 |
</materialDesign:DialogHost>
|
63 |
</Window>
|