개정판 d33ef543
Main window style 변경
Change-Id: Idecdbcbe3743713536c151e5816c21fad4783f12
KCOM/MainWindow.xaml | ||
---|---|---|
6 | 6 |
xmlns:local="clr-namespace:KCOM" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
7 | 7 |
xmlns:control="clr-namespace:KCOM.Controls" |
8 | 8 |
xmlns:view="clr-namespace:KCOM.Views" |
9 |
mc:Ignorable="d" |
|
10 |
WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="CanResizeWithGrip" AllowsTransparency="True"
|
|
9 |
mc:Ignorable="d" WindowStartupLocation="CenterScreen"
|
|
10 |
Style="{StaticResource VS2012WindowStyle}"
|
|
11 | 11 |
Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}" |
12 | 12 |
telerik:TabNavigationExtensions.IsTabStop="False" |
13 | 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}"> |
|
14 |
<Grid> |
|
20 | 15 |
<Grid.RowDefinitions> |
21 | 16 |
<RowDefinition Height="Auto"/> |
22 |
<RowDefinition Height="Auto"/> |
|
23 |
<RowDefinition Height="Auto"/> |
|
24 | 17 |
<RowDefinition Height="*"/> |
25 | 18 |
</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> |
|
19 |
<view:TopMenu x:Name="dzTopMenu" VerticalAlignment="Top"/> |
|
20 |
<view:MainMenu x:Name="dzMainMenu" Grid.Row="1" VerticalAlignment="Stretch"/> |
|
58 | 21 |
</Grid> |
59 | 22 |
</Window> |
내보내기 Unified diff