forked from sachabruttin/FluentRibbonTest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.xaml
42 lines (37 loc) · 3.48 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<Application x:Class="FluentRibbonTest.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:FluentRibbonTest"
xmlns:Fluent="urn:fluent-ribbon"
StartupUri="MetroWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Fluent;Component/Themes/Generic.xaml" />
<!-- MahApps.Metro resource dictionaries. Make sure that all file names are Case Sensitive! -->
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<!-- Theme setting -->
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style x:Key="{x:Type Fluent:BackstageTabControl}"
BasedOn="{StaticResource {x:Type Fluent:BackstageTabControl}}"
TargetType="{x:Type Fluent:BackstageTabControl}">
<Setter Property="SelectedContentMargin" Value="0" />
</Style>
<DrawingImage x:Key="DocumentIcon">
<DrawingImage.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M4,15C3.03,15,2,14.299,2,13L2,3C2,1.701,3.03,1,4,1L10.061,1 14,4.556 14,13C14,13.97,13.299,15,12,15z" />
<GeometryDrawing Brush="#FF9ECA00" Geometry="F1M12,13L4,13 4,3 9,3 9,6 12,6z M9.641,2L3.964,2C3.964,2,3,2,3,3L3,13C3,14,3.965,14,3.965,14L11.965,14C12.965,14,13,13,13,13L13,5z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M4,3L9,3 9,6 12,6 12,13 4,13z" />
<GeometryDrawing Brush="#FF9ECA00" Geometry="F1M11,9.7585C10.64,9.7585,10.46,9.9355,10.46,10.2895L10.46,10.9455C10.46,11.3455 10.346,11.6215 10.116,11.7725 9.887,11.9245 9.515,12.0005 9,12.0005L9,11.4685C9.198,11.4685 9.341,11.4305 9.43,11.3535 9.52,11.2765 9.564,11.1465 9.564,10.9635L9.564,10.3575C9.564,9.9055,9.744,9.6225,10.104,9.5085L10.104,9.4975C9.744,9.3775,9.564,9.0815,9.564,8.6075L9.564,8.0255C9.564,7.6965,9.376,7.5315,9,7.5315L9,7.0005C9.513,7.0005 9.884,7.0785 10.115,7.2375 10.345,7.3955 10.46,7.6655 10.46,8.0485L10.46,8.6985C10.46,9.0565,10.64,9.2355,11,9.2355z M7,12.0005C6.488,12.0005 6.116,11.9245 5.884,11.7725 5.651,11.6215 5.535,11.3515 5.535,10.9635L5.535,10.2815C5.535,9.9325,5.357,9.7585,5,9.7585L5,9.2355C5.357,9.2355,5.535,9.0545,5.535,8.6935L5.535,8.0595C5.535,7.6695 5.65,7.3955 5.88,7.2375 6.11,7.0785 6.483,7.0005 7,7.0005L7,7.5315C6.624,7.5315,6.437,7.6965,6.437,8.0255L6.437,8.6305C6.437,9.0855,6.256,9.3725,5.894,9.4915L5.894,9.5025C6.256,9.6205,6.437,9.9115,6.437,10.3755L6.437,10.9575C6.437,11.1425 6.481,11.2745 6.569,11.3525 6.657,11.4295 6.801,11.4685 7,11.4685z" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</ResourceDictionary>
</Application.Resources>
</Application>