markus / ConvertService / ServiceBase / Markus.Service.StationController / MainWindow.xaml @ a6e5055d
이력 | 보기 | 이력해설 | 다운로드 (5.18 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 | 53c9637d | taeseongkim | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
6 | 31f18afa | taeseongkim | xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
7 | mc:Ignorable="d" d:DataContext="{d:DesignInstance vm:MainViewModel, IsDesignTimeCreatable=true}" |
||
8 | 45f9a2ad | taeseongkim | xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" |
9 | 0498c12e | taeseongkim | xmlns:vm="clr-namespace:Markus.Service.StationController.ViewModel" |
10 | b92f142f | taeseongkim | xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
11 | 0498c12e | taeseongkim | xmlns:localData="clr-namespace:Markus.Service.StationController.Data" |
12 | 31f18afa | taeseongkim | Title="Markus Convert Service" Height="450" Width="800" d:DesignHeight="450" d:DesignWidth="800"> |
13 | <Window.Background>
|
||
14 | <ImageBrush/> |
||
15 | </Window.Background>
|
||
16 | 45f9a2ad | taeseongkim | <i:Interaction.Triggers>
|
17 | <i:EventTrigger EventName="Loaded"> |
||
18 | <i:InvokeCommandAction Command="{Binding LoadedCommand}"/> |
||
19 | </i:EventTrigger>
|
||
20 | <i:EventTrigger EventName="Closing"> |
||
21 | <i:InvokeCommandAction Command="{Binding ClosingCommand}"/> |
||
22 | </i:EventTrigger>
|
||
23 | </i:Interaction.Triggers>
|
||
24 | ed79bff0 | taeseongkim | <Window.DataContext>
|
25 | 0498c12e | taeseongkim | <vm:MainViewModel/> |
26 | ed79bff0 | taeseongkim | </Window.DataContext>
|
27 | b92f142f | taeseongkim | <materialDesign:DialogHost x:Name="m_dialogHost" Identifier="dialogHost"> |
28 | <materialDesign:DrawerHost IsLeftDrawerOpen="{Binding ElementName=MenuToggleButton, Path=IsChecked}"> |
||
29 | <materialDesign:DrawerHost.LeftDrawerContent>
|
||
30 | <DockPanel MinWidth="212"> |
||
31 | <ToggleButton Style="{StaticResource MaterialDesignHamburgerToggleButton}" |
||
32 | DockPanel.Dock="Top" |
||
33 | HorizontalAlignment="Right" Margin="16" |
||
34 | IsChecked="{Binding ElementName=MenuToggleButton, Path=IsChecked, Mode=TwoWay}" /> |
||
35 | <ListBox x:Name="MenuListBox" Margin="0 16 0 16" SelectedIndex="0" |
||
36 | ItemsSource="{Binding NavigationItems}" SelectedItem="{Binding SelectNavigationItem}"> |
||
37 | <i:Interaction.Triggers>
|
||
38 | <i:EventTrigger EventName="PreviewMouseLeftButtonUp"> |
||
39 | <i:InvokeCommandAction Command="{Binding ListboxItemMouseUpCommand}"/> |
||
40 | </i:EventTrigger>
|
||
41 | </i:Interaction.Triggers>
|
||
42 | <ListBox.ItemTemplate>
|
||
43 | <DataTemplate DataType="localData:NavigationItem"> |
||
44 | <TextBlock Text="{Binding Name}" Margin="32 0 32 0" /> |
||
45 | </DataTemplate>
|
||
46 | </ListBox.ItemTemplate>
|
||
47 | </ListBox>
|
||
48 | </DockPanel>
|
||
49 | </materialDesign:DrawerHost.LeftDrawerContent>
|
||
50 | 92442e4a | taeseongkim | <Grid>
|
51 | b92f142f | taeseongkim | <Grid.RowDefinitions>
|
52 | <RowDefinition Height="Auto"/> |
||
53 | <RowDefinition/> |
||
54 | </Grid.RowDefinitions>
|
||
55 | <materialDesign:ColorZone Padding="16" materialDesign:ShadowAssist.ShadowDepth="Depth2" |
||
56 | Mode="PrimaryMid"> |
||
57 | <DockPanel>
|
||
58 | <ToggleButton Style="{StaticResource MaterialDesignHamburgerToggleButton}" IsChecked="{Binding IsMenuOpen}" |
||
59 | x:Name="MenuToggleButton"/> |
||
60 | <Grid>
|
||
61 | <Grid.ColumnDefinitions>
|
||
62 | <ColumnDefinition Width="Auto"/> |
||
63 | <ColumnDefinition/> |
||
64 | </Grid.ColumnDefinitions>
|
||
65 | <TextBlock Style="{StaticResource MaterialDesignSubheadingTextBlock}" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" >Markus Convert Management</TextBlock> |
||
66 | <TextBlock Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" |
||
67 | Text="{Binding SelectNavigationItem.Description}" |
||
68 | Style="{StaticResource MaterialDesignDisplay1TextBlock}"/> |
||
69 | </Grid>
|
||
70 | </DockPanel>
|
||
71 | </materialDesign:ColorZone>
|
||
72 | a34f58f6 | taeseongkim | <!--<Grid Grid.Row="1">
|
73 | b92f142f | taeseongkim | <Grid.RowDefinitions>
|
74 | <RowDefinition Height="*" />
|
||
75 | a34f58f6 | taeseongkim | </Grid.RowDefinitions>-->
|
76 | <!--<ScrollViewer Grid.Row="1" Width="{Binding ActualWidth, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"
|
||
77 | b92f142f | taeseongkim | HorizontalScrollBarVisibility="Auto"
|
78 | a34f58f6 | taeseongkim | VerticalScrollBarVisibility="Auto">-->
|
79 | <ContentControl Grid.Row="1" Content="{Binding SelectNavigationItem.Content}"/> |
||
80 | <!--</ScrollViewer>-->
|
||
81 | <!--</Grid>-->
|
||
82 | ed79bff0 | taeseongkim | </Grid>
|
83 | b92f142f | taeseongkim | </materialDesign:DrawerHost>
|
84 | </materialDesign:DialogHost>
|
||
85 | 31f18afa | taeseongkim | </Window>
|
86 |