markus / KCOM / MainWindow.xaml @ 81908c01
이력 | 보기 | 이력해설 | 다운로드 (4.59 KB)
1 |
<Window 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 |
WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="CanResizeWithGrip" AllowsTransparency="True" |
11 |
Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}" |
12 |
telerik:TabNavigationExtensions.IsTabStop="False" |
13 |
Title="MARKUS" > |
14 |
<Window.Resources>
|
15 |
<Style x:Key="NoMarginGrid" TargetType="{x:Type Grid}"> |
16 |
<Setter Property="Margin" Value="5,5,5,5"/> |
17 |
</Style>
|
18 |
</Window.Resources>
|
19 |
<Grid Style="{StaticResource NoMarginGrid}"> |
20 |
<Grid.RowDefinitions>
|
21 |
<RowDefinition Height="Auto"/> |
22 |
<RowDefinition Height="Auto"/> |
23 |
<RowDefinition Height="Auto"/> |
24 |
<RowDefinition Height="*"/> |
25 |
</Grid.RowDefinitions>
|
26 |
<Border VerticalAlignment="Stretch" MouseLeftButtonDown="WindowDragEvent" Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}" |
27 |
MouseLeftButtonUp="WindowDragEventUp" MouseMove="WindowDragEventMove"> |
28 |
<Grid>
|
29 |
<StackPanel Orientation="Horizontal" Opacity="0.6" Margin="5,0" Visibility="Collapsed"> |
30 |
<telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/save.png" telerik:StyleManager.Theme="Office2016"/> |
31 |
<telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/printer.png" telerik:StyleManager.Theme="Office2016"/> |
32 |
<telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/pdf.png" telerik:StyleManager.Theme="Office2016"/> |
33 |
<telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/undo.png" telerik:StyleManager.Theme="Office2016"/> |
34 |
<telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/redo.png" telerik:StyleManager.Theme="Office2016"/> |
35 |
</StackPanel>
|
36 |
<TextBlock Text="MARKUS" Foreground="White" Margin="355,0,355,4" HorizontalAlignment="Center" VerticalAlignment="Bottom" x:Name="TitleText"/> |
37 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Stretch"> |
38 |
<Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/minimize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_min"/> |
39 |
<Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/maximize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_max"/> |
40 |
<Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/close-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_Close"/> |
41 |
</StackPanel>
|
42 |
</Grid>
|
43 |
</Border>
|
44 |
<view:TopMenu x:Name="dzTopMenu" Grid.Row="1" VerticalAlignment="Top"/> |
45 |
<view:MainMenu x:Name="dzMainMenu" Grid.Row="3" VerticalAlignment="Stretch"/> |
46 |
<Border Grid.Row="2" Background="#f1f1f1" MinHeight="30" Visibility="Collapsed"> |
47 |
<StackPanel Orientation="Horizontal"> |
48 |
<telerik:RadButton Content="Event1" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
49 |
<telerik:RadButton Content="Event2" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
50 |
<telerik:RadButton Content="Event3" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
51 |
<telerik:RadButton Content="Event4" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
52 |
<telerik:RadButton Content="Event5" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
53 |
<telerik:RadButton Content="Event6" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
54 |
<telerik:RadButton Content="Event7" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
55 |
<telerik:RadButton Content="Event8" Background="White" Padding="3" Margin="5" HorizontalAlignment="Left"/> |
56 |
</StackPanel>
|
57 |
</Border>
|
58 |
</Grid>
|
59 |
</Window>
|