프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.StationController / MainWindow.xaml @ 31f18afa

이력 | 보기 | 이력해설 | 다운로드 (3.89 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:x="http://schemas.microsoft.com/winfx/2006/xaml"
6
         xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
7
        mc:Ignorable="d" d:DataContext="{d:DesignInstance vm:MainViewModel, IsDesignTimeCreatable=true}"
8
        xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
9
        xmlns:vm="clr-namespace:Markus.Service.StationController.ViewModel"
10
        xmlns:packIcon="clr-namespace:Markus.Mvvm.ToolKit.PackIcon;assembly=Markus.Mvvm.ToolKit"
11
        xmlns:localData="clr-namespace:Markus.Service.StationController.Data"
12
        Title="Markus Convert Service" Height="450" Width="800"  d:DesignHeight="450" d:DesignWidth="800">
13
    <Window.Background>
14
        <ImageBrush/>
15
    </Window.Background>
16
    <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
    <Window.DataContext>
25
        <vm:MainViewModel/>
26
    </Window.DataContext>
27
    <Grid>
28
        <Grid>
29
            <Grid.RowDefinitions>
30
                <RowDefinition Height="Auto"/>
31
                <RowDefinition/>
32
            </Grid.RowDefinitions>
33
            <Grid>
34
                <Grid.ColumnDefinitions>
35
                    <ColumnDefinition Width="Auto"/>
36
                    <ColumnDefinition Width="Auto"/>
37
                    <ColumnDefinition/>
38
                </Grid.ColumnDefinitions>
39
                <telerik:RadToggleButton IsThreeState="False" Width="50">
40
                    <telerik:RadToggleButton.Content>
41
                        <packIcon:PackIcon Kind="Bike"/>
42
                    </telerik:RadToggleButton.Content>
43
                    <telerik:RadToggleButton.Style>
44
                        <Style TargetType="telerik:RadToggleButton">
45
                            <Setter Property="telerik:StyleManager.Theme" Value="{x:Null}"/>
46
                            <Setter Property="Background" Value="Transparent"/>
47
                            <Setter Property="BorderThickness" Value="0"/>
48
                            <Style.Triggers>
49
                                <DataTrigger Binding="{Binding IsChecked}" Value="false">
50
                                    <Setter Property="Content" Value="Menu"/>
51
                                </DataTrigger>
52
                                <DataTrigger Binding="{Binding IsChecked}" Value="true">
53
                                    <Setter Property="Content" Value="close"/>
54
                                </DataTrigger>
55
                            </Style.Triggers>
56
                        </Style>
57
                    </telerik:RadToggleButton.Style>
58
                </telerik:RadToggleButton>
59
                <TextBlock  Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" Style="{StaticResource TitleTextBoxStyle}" >Markus Convert Management</TextBlock>
60
                <TextBlock Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"
61
                                            Text="{Binding SelectNavigationItem.Description}"/>
62
            </Grid>
63
            <ContentControl Grid.Row="1" Content="{Binding SelectNavigationItem.Content}"/>
64
            <Grid/>
65
        </Grid>
66
        <Grid Background="#807A7A7A">
67
            <Grid.ColumnDefinitions>
68
                <ColumnDefinition Width="Auto"/>
69
                <ColumnDefinition Width="*"/>
70
            </Grid.ColumnDefinitions>
71
            <telerik:RadListBox/>
72
        </Grid>
73
    </Grid>
74
</Window>
75
    
클립보드 이미지 추가 (최대 크기: 500 MB)