개정판 45f9a2ad
service Controller 수정
wpf mvvm toolkit추가
Change-Id: I377702b7e388e29af1d18647108109d835b4fefb
ConvertService/ServiceBase/Markus.Service.StationController/MainWindow.xaml | ||
---|---|---|
2 | 2 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
3 | 3 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 | 4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 |
xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes" |
|
6 | 5 |
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
7 |
xmlns:materialEx="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions" |
|
8 | 6 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
7 |
xmlns:mvvmToolkit="clr-namespace:Markus.Mvvm.ToolKit;assembly=Markus.Mvvm.ToolKit" |
|
9 | 8 |
TextElement.Foreground="{DynamicResource MaterialDesignBody}" |
10 | 9 |
mc:Ignorable="d" |
10 |
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
|
11 | 11 |
xmlns:local="clr-namespace:Markus.Service.StationController.ViewModel" |
12 | 12 |
Title="Markus Convert Service" Height="450" Width="800" Foreground="{DynamicResource {x:Static SystemColors.MenuHighlightBrushKey}}"> |
13 |
<i:Interaction.Triggers> |
|
14 |
<i:EventTrigger EventName="Loaded"> |
|
15 |
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
|
16 |
</i:EventTrigger> |
|
17 |
<i:EventTrigger EventName="Closing"> |
|
18 |
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
|
19 |
</i:EventTrigger> |
|
20 |
</i:Interaction.Triggers> |
|
13 | 21 |
<Window.DataContext> |
14 | 22 |
<local:MainViewModel/> |
15 | 23 |
</Window.DataContext> |
16 |
<materialDesign:DialogHost x:Name="m_dialogHost" Identifier="dialogHost" DialogTheme="Light">
|
|
24 |
<materialDesign:DialogHost x:Name="m_dialogHost" Identifier="dialogHost" DialogTheme="Light"> |
|
17 | 25 |
<materialDesign:DrawerHost IsLeftDrawerOpen="{Binding Path=IsNavigationDrawerOpen, ElementName=appBar}" LeftDrawerBackground="{DynamicResource MaterialDesignBackground}"> |
18 | 26 |
<!--<materialDesign:DrawerHost.LeftDrawerContent> |
19 | 27 |
<materialEx:SideNavigation Items="{Binding NavigationItems,Mode=OneTime}" Width="280"/> |
... | ... | |
51 | 59 |
<materialDesign:MaterialDataGridTextColumn Header="Status" Binding="{Binding ConvertState}"/> |
52 | 60 |
<materialDesign:MaterialDataGridTextColumn Header="Current Page" Binding="{Binding CurrentPageNo}"/> |
53 | 61 |
<materialDesign:MaterialDataGridTextColumn Header="TotalPage" Binding="{Binding TotalPage}"/> |
54 |
|
|
55 | 62 |
<materialDesign:MaterialDataGridTextColumn Header="Originfile" Binding="{Binding OriginfilePath}"/> |
56 | 63 |
<materialDesign:MaterialDataGridTextColumn Header="Output Path" Binding="{Binding ConvertPath}"/> |
57 | 64 |
</DataGrid.Columns> |
내보내기 Unified diff