프로젝트

일반

사용자정보

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

markus / KCOM / MainWindow.xaml @ f3c08420

이력 | 보기 | 이력해설 | 다운로드 (4.98 KB)

1
<telerik:RadWindow x:Class="KCOM.MainWindow"
2
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
        xmlns:local="clr-namespace:KCOM" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
7
        xmlns:control="clr-namespace:KCOM.Controls"
8
        xmlns:view="clr-namespace:KCOM.Views"
9
        mc:Ignorable="d" 
10
        d:DesignHeight="800" d:DesignWidth="1600"
11
                xmlns:navigation="clr-namespace:Telerik.Windows.Controls.Navigation;assembly=Telerik.Windows.Controls.Navigation"
12
        WindowStartupLocation="CenterScreen"
13
        navigation:RadWindowInteropHelper.ShowInTaskbar="True"
14
        Style="{StaticResource MainWindowStyle}" BorderBrush="#FF40568D"
15
                navigation:RadWindowInteropHelper.Icon="markup.ico"
16
        Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}"
17
        Header="MARKUS" Foreground="White" >
18
    <telerik:RadWindow.Resources>
19
        <Style x:Key="NoMarginGrid" TargetType="{x:Type Grid}">
20
            <Setter Property="Margin" Value="0"/>
21
        </Style>
22
    </telerik:RadWindow.Resources>
23
    <Grid Style="{StaticResource NoMarginGrid}">
24
        <Grid.RowDefinitions>
25
            <RowDefinition Height="Auto"/>
26
            <RowDefinition Height="Auto"/>
27
            <RowDefinition Height="Auto"/>
28
            <RowDefinition Height="*"/>
29
        </Grid.RowDefinitions>
30
        <Border Grid.RowSpan="10" BorderThickness="2" BorderBrush="#FF8D8888"/>
31
        <!--<Border VerticalAlignment="Stretch" MouseLeftButtonDown="WindowDragEvent" Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}"
32
                MouseLeftButtonUp="WindowDragEventUp" MouseMove="WindowDragEventMove">
33
            <Grid>
34
                <StackPanel Orientation="Horizontal" Opacity="0.6" Margin="5,0" Visibility="Collapsed">
35
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/save.png" telerik:StyleManager.Theme="Office2016"/>
36
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/printer.png" telerik:StyleManager.Theme="Office2016"/>
37
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/pdf.png" telerik:StyleManager.Theme="Office2016"/>
38
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/undo.png" telerik:StyleManager.Theme="Office2016"/>
39
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/redo.png" telerik:StyleManager.Theme="Office2016"/>
40
                </StackPanel>
41
                <TextBlock Text="MARKUS" Foreground="White" Margin="355,0,355,4" HorizontalAlignment="Center" VerticalAlignment="Bottom" x:Name="TitleText"/>
42
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Stretch">
43
                    <Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/minimize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_min"/>
44
                    <Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/maximize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_max"/>
45
                    <Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/close-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_Close"/>
46
                </StackPanel>
47
            </Grid>
48
        </Border>-->
49
        <view:TopMenu x:Name="dzTopMenu" Grid.Row="1" VerticalAlignment="Top" Margin="1,1,1,0"/>
50
        <view:MainMenu x:Name="dzMainMenu" Grid.Row="3" VerticalAlignment="Stretch" Margin="1,0,1,1"/>
51
        <Border Grid.Row="2" Background="#f1f1f1" MinHeight="30" Visibility="Collapsed">
52
            <StackPanel Orientation="Horizontal">
53
                <telerik:RadButton Content="Event1" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
54
                <telerik:RadButton Content="Event2" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
55
                <telerik:RadButton Content="Event3" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
56
                <telerik:RadButton Content="Event4" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
57
                <telerik:RadButton Content="Event5" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
58
                <telerik:RadButton Content="Event6" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
59
                <telerik:RadButton Content="Event7" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
60
                <telerik:RadButton Content="Event8" Background="White"  Padding="3" Margin="5" HorizontalAlignment="Left"/>
61
            </StackPanel>
62
        </Border>
63
    </Grid>
64
</telerik:RadWindow>
클립보드 이미지 추가 (최대 크기: 500 MB)