| ofs | hex dump | ascii |
|---|
| 0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 40 08 06 00 00 00 aa 69 71 | .PNG........IHDR...@...@......iq |
| 0020 | de 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 01 bb 00 00 01 | .....sBIT....|.d.....pHYs....... |
| 0040 | bb 01 3a ec e3 e2 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 | ..:.......tEXtSoftware.www.inksc |
| 0060 | 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 04 e9 49 44 41 54 78 9c ed 5b cf 6b 1b 47 14 fe de ae a5 | ape.org..<.....IDATx..[.k.G..... |
| 0080 | d8 b1 eb 84 16 17 02 05 43 2f 06 89 92 da 2e c4 b6 68 7a 2b 14 4a 6e 0d e9 9f e1 f6 62 a8 7a 28 | ........C/.......hz+.Jn.....b.z( |
| 00a0 | 52 21 04 d2 fc 1b 39 36 e7 9c d2 e2 b4 87 ba 6a 0e 2d b4 87 80 21 10 68 2e ad 6c a9 d2 ee fc e8 | R!....96.......j.-...!.h..l..... |
| 00c0 | c1 5a 47 da 9d 99 9d 5d ed 0f 1b eb 3b d9 b3 a3 f7 de bc 79 f3 be f7 34 2b 92 52 e2 22 c3 29 db | .ZG....]....;......y...4+.R.".). |
| 00e0 | 80 b2 51 aa 03 36 db 9e dc 6c 7b a5 86 e0 2c 02 ca 36 a0 6c 5c 78 07 d0 8c 05 2e 38 66 2c 50 a6 | ..Q..6...l{...,..6.l\x.....8f,P. |
| 0100 | f2 b3 80 99 03 ca 36 a0 6c cc 58 a0 6c 03 ca c6 8c 05 ca 54 7e 16 30 73 40 d1 0a 37 da c3 5b 3b | ......6.l.X.l......T~.0s@..7..[; |
| 0120 | 0f b0 10 1e df 79 80 85 8d f6 f0 56 d1 f6 14 ea 80 cd b6 77 8f 40 8f 06 3d bf 05 00 07 cd 2a 1d | .....y.....V.......w.@..=.....*. |
| 0140 | 34 ab 04 00 83 9e df 22 d0 a3 cd b6 77 af 48 9b 0a 75 80 20 e7 7b 00 82 20 77 37 5a 6c 3b 18 df | 4......"....w.H..u...{...w7Zl;.. |
| 0160 | 68 b1 6d 82 dc 05 20 46 73 0a 43 e1 75 c0 07 2d ff be 24 f9 05 80 3f 97 79 f5 7d 00 e8 ba de 6f | h.m....Fs.C.u..-..$...?.y.}....o |
| 0180 | 00 d6 48 d2 77 bf 7c 5d f9 b2 48 7b e6 8a 54 06 00 d5 a5 4a d3 3b f6 3e 95 84 b5 ae e3 b5 46 c3 | ..H.w.|]..H{..T....J.;.>......F. |
| 01a0 | 6b 24 f1 57 75 a9 d2 2c da 9e 52 2a c1 f5 6f d9 8e 23 c5 8f e3 63 82 9c 0f 3b 5f cd 3d 2d da 96 | k$.Wu..,..R*..o..#...c...;_.=-.. |
| 01c0 | 53 07 78 3f 6d 48 b7 7a 49 39 c9 75 64 1d eb 3f ff 91 a5 e2 b1 a3 80 dc 42 bf b3 55 e3 82 7e 0f | S.x?mH.zI9.ud..?........B..U..~. |
| 01e0 | 0f 73 6f 88 ea f6 af 04 8c 25 41 ff e8 1f ad 1c 21 e9 b3 ac 6d ab 2e 55 9a 92 e8 b1 24 7a 9c 57 | .so......%A.....!...m..U....$z.W |
| 0200 | e8 33 4e b7 55 e3 e3 6b 3d cd 01 c2 f7 c1 07 7d b8 f3 97 23 1f 10 12 b7 1d e0 9b 2c 8d 7b ba 8b | .3N.U..k=......}...#.......,.{.. |
| 0220 | ff 80 ca c7 59 ca 8c 80 10 d9 38 3e e8 43 f8 fe e9 ff 13 34 e8 1d 75 01 44 73 02 01 35 74 b6 6a | ....Y.....8>.C.....4..u.Ds..5t.j |
| 0240 | 39 98 98 1f 3a 5b 35 02 42 36 cb d1 1a 5f 63 c2 01 92 33 b0 7e 4f 29 2f 8f 63 90 27 54 e1 cf fa | 9...:[5.B6..._c...3.~O)/.c.'T... |
| 0260 | 3d 48 ce 26 c6 22 85 90 7f dc 05 14 cc 20 24 94 e7 e9 cc 22 1c fe 52 9e ac 2d 84 88 03 a4 10 f0 | =H.&."........$...."..R..-...... |
| 0280 | 7b 47 0a 79 e7 e8 18 28 c2 df ef 1d 41 0a 11 99 aa 2c 85 75 93 cf cb 31 08 87 bf 6e 53 01 5d 2f | {G.y...(....A....,.u...1...nS.]/ |
| 02a0 | a0 09 97 73 73 0c 42 e1 af 3b d6 80 a1 14 66 fd 1e 2a 8b 4b 20 f7 f5 14 02 6a fc 60 5b 29 c9 75 | ...ss.B..;....f..*.K.....j.`[).u |
| 02c0 | 2a 6f 63 fd 87 57 e9 2c 4e 88 ce cd 15 2e fc bf 75 8f 69 ec 6f 53 62 07 8c dd 60 94 32 4c 60 8c | *oc..W.,N.......u.i.oSb...`.2L`. |
| 02e0 | 15 96 1f 92 e8 d2 51 7b 00 63 3b 1c 2e 1a 4c 70 1c 51 b7 35 2a c0 62 e7 b9 5c ec 3c 4f dc 8c d8 | ......Q{.c;...Lp.Q.5*.b..\.<O... |
| 0300 | ea 0a 8a 3b a3 ac 38 21 a6 12 79 1c 12 94 d8 01 69 61 ab cb c6 f6 58 07 70 6f 08 ee 0d 6d f4 15 | ...;..8!..y.....ia....X.po...m.. |
| 0320 | 49 91 b1 ba 6c ed b6 fa 46 c8 32 0a 0a 8b 00 1b 5d b6 91 6b e5 00 9b b3 04 60 05 9d 9b 2b a6 09 | I...l...F.2.....]..k.....`...+.. |
| 0340 | 71 67 de 2a 27 9c e8 30 ea 49 94 bb ac 66 21 3e 9b 02 c5 30 41 bc 8e 64 ec 65 ed 80 38 3e 05 d2 | qg.*'..0.I...f!>...0A..d.e..8>.. |
| 0360 | 31 41 52 c4 e9 50 35 3c 46 79 49 94 9b 2a 2a a0 18 26 30 ea d0 54 b0 26 24 72 80 a9 a6 1e a1 08 | 1AR..P5<FyI..**..&0..T.&$r...... |
| 0380 | 26 d0 ea d0 f5 30 26 24 be 17 88 51 52 04 13 28 75 58 6c 8e 12 c9 2f 46 cc 61 16 cb 04 53 c1 c0 | &....0&$...QR..(uXl.../F.a...S.. |
| 03a0 | 00 71 c7 53 87 54 37 43 a6 44 93 27 13 e8 64 db 24 68 1d 52 5e 8d e9 a9 26 4f 26 d0 c9 b6 a1 68 | .q.S.T7C.D.'..d.$h.R^...&O&....h |
| 03c0 | 1d 52 df 0c 9d 14 1b 6f c0 a9 54 26 c6 93 30 41 6f fd 5d 8a 9f 65 96 6d 59 a4 69 31 d5 e5 a8 a6 | .R.....o..T&..0Ao.]..e.mY.i1.... |
| 03e0 | dc cc 93 09 22 b2 6d 4b 5e 1d a6 ba 1b 0c 1a 8e d0 8d 92 36 02 e2 76 dc 22 22 26 64 27 68 d4 b4 | ....".mK^..........6..v.""&d'h.. |
| 0400 | 98 fa 7a 5c b1 03 f9 30 81 82 01 a6 dd 7d 20 83 db 61 d5 8d 12 63 ac 36 07 3c d1 7d 66 d0 68 ac | ..z\...0.....}...a...c.6.<.}f.h. |
| 0420 | 72 e1 de 05 e1 23 00 80 c4 13 d7 e1 7b f3 fb fb 87 ba cf 30 c6 6a 34 b6 5d 49 1a 1e 13 94 11 70 | r....#......{......0.j4.]I.....p |
| 0440 | f8 e2 15 0e 5f d8 7f bd 17 ce c2 26 26 18 34 1a ab 5c ba cf 40 b8 03 e0 1a 80 6b 20 dc e1 d2 7d | ...._......&&.4..\..@.....k....} |
| 0460 | 36 68 34 56 b5 86 4e c8 4c d6 f0 98 d6 93 c9 1b 22 61 1e 36 31 01 17 ee 5d 00 57 14 8f ae 8c 9e | 6h4V..N.L......."a.61...].W..... |
| 0480 | a9 75 8c c9 4c da f0 98 90 d9 2b 32 a1 4a 4c cf 04 41 d8 27 7d 16 c8 4c d1 f0 98 90 99 03 42 b5 | .u..L.....+2.JL..A.'}..L......B. |
| 04a0 | 78 1e c5 50 1d 48 d7 f0 98 90 e9 4b 52 63 c6 e9 99 40 ea 93 a3 f6 d9 88 01 d2 36 3c 26 18 59 40 | x..P.H.....KRc...@........6<&.Y@ |
| 04c0 | 95 38 56 df 31 30 dc 28 3c ab cb 57 b5 4c e0 3a 7c 8f 4b f7 13 44 f3 c0 bf ae c3 f7 54 62 03 06 | .8V.10.(<..W.L.:|.K..D......Tb.. |
| 04e0 | b0 69 78 92 24 6f 40 13 01 97 17 d4 af ca d8 20 48 50 3a 26 98 df df 3f 74 89 5f 87 c4 43<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Tango.Scripting.IDE.Themes">
<Style x:Key="TangoMenuStyle" TargetType="{x:Type Menu}">
<Setter Property="OverridesDefaultStyle" Value="True" />
<Setter Property="Background" Value="{DynamicResource Menu.Background}"/>
<Setter Property="FontFamily" Value="{DynamicResource {x:Static SystemFonts.MenuFontFamilyKey}}"/>
<Setter Property="FontSize" Value="{DynamicResource {x:Static SystemFonts.MenuFontSizeKey}}"/>
<Setter Property="FontStyle" Value="{DynamicResource {x:Static SystemFonts.MenuFontStyleKey}}"/>
<Setter Property="FontWeight" Value="{DynamicResource {x:Static SystemFonts.MenuFontWeightKey}}"/>
<Setter Property="Foreground" Value="{DynamicResource Menu.Foreground}"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Menu}">
<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="true">
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Resources>
<Style TargetType="{x:Type MenuItem}">
<Setter Property="OverridesDefaultStyle" Value="True" />
<Style.Triggers>
<Trigger Property="Role" Value="TopLevelHeader">
<Setter Property="Template" Value="{DynamicResource {x:Static MenuItem.TopLevelHeaderTemplateKey}}" />
<Setter Property="Grid.IsSharedSizeScope" Value="true" />
</Trigger>
<Trigger Property="Role" Value="TopLevelItem">
<Setter Property="Template" Value="{DynamicResource {x:Static MenuItem.TopLevelItemTemplateKey}}" />
</Trigger>
<Trigger Property="Role" Value="SubmenuHeader">
<Setter Property="Template" Value="{DynamicResource {x:Static MenuItem.SubmenuHeaderTemplateKey}}" />
</Trigger>
<Trigger Property="Role" Value="SubmenuItem">
<Setter Property="Template" Value="{DynamicResource {x:Static MenuItem.SubmenuItemTemplateKey}}" />
</Trigger>
</Style.Triggers>
</Style>
<Style TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap"></Setter>
</Style>
</Style.Resources>
</Style>
<Geometry x:Key="Checkmark">M 0,5.1 L 1.7,5.2 L 3.4,7.1 L 8,0.4 L 9.2,0 L 3.3,10.8 Z</Geometry>
<!-- TopLevelHeader -->
<ControlTemplate x:Key="{x:Static MenuItem.TopLevelHeaderTemplateKey}" TargetType="{x:Type MenuItem}">
<Grid x:Name="Border" Background="Transparent" Margin="0,2,0,2">
<Rectangle x:Name="Bg" Fill="Transparent" />
<Rectangle x:Name="Inner_Border" Margin="4" Fill="Transparent"/>
<ContentPresenter Margin="8,2,8,2" ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
<Popup x:Name="Popup" Placement="Bottom" IsOpen="{TemplateBinding IsSubmenuOpen}" AllowsTransparency="True" Focusable="False" PopupAnimation="Fade" HorizontalOffset="2">
<Border x:Name="SubmenuBorder" BorderBrush="{DynamicResource MenuItemHighlightedBackground}" BorderThickness="1" Background="{DynamicResource Menu.Background}" Padding="2" Margin="0,0,8,8">
<Border.Effect>
<DropShadowEffect BlurRadius="6" Opacity="0.5" ShadowDepth="4" Direction="330"/>
</Border.Effect>
<Grid RenderOptions.ClearTypeHint="Enabled" Background="Transparent">
<ItemsPresenter x:Name="ItemsPresenter" KeyboardNavigation.DirectionalNavigation="Cycle" Grid.IsSharedSizeScope="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" KeyboardNavigation.TabNavigation="Cycle"/>
</Grid>
</Border>
</Popup>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsSuspendingPopupAnimation" Value="true">
<Setter TargetName="Popup" Property="PopupAnimation" Value="None" />
</Trigger>
<Trigger Property="IsHighlighted" Value="true">
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
</Trigger>
<Trigger SourceName="Popup" Property="AllowsTransparency" Value="True">
<Setter TargetName="SubmenuBorder" Property="CornerRadius" Value="0,0,0,0" />
<Setter TargetName="SubmenuBorder" Property="Padding" Value="0,0,0,3" />
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource Menu.Disable.Foreground}"/>
</Trigger>
<Trigger Property="IsSubmenuOpen" Value="true">
<Setter Property="Background" TargetName="Border" Value="{DynamicResource Menu.Submenu.Background}"/>
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.Background}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
<!-- TopLevelItem -->
<ControlTemplate x:Key="{x:Static MenuItem.TopLevelItemTemplateKey}" TargetType="{x:Type MenuItem}" >
<Grid SnapsToDevicePixels="true" Background="Transparent" Margin="0,2,0,2">
<Rectangle x:Name="Bg" Fill="Transparent" />
<Rectangle x:Name="InnerBorder" Margin="4" Fill="Transparent"/>
<!--<DockPanel>
<ContentPresenter x:Name="Icon" ContentSource="Icon" Margin="4,0,6,0" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="Center"/>
<Path x:Name="GlyphPanel" Data="{StaticResource Checkmark}" Fill="{TemplateBinding Foreground}" FlowDirection="LeftToRight" Margin="7,0,0,0" Visibility="Collapsed" VerticalAlignment="Center"/>-->
<ContentPresenter ContentSource="Header" Margin="8,2,8,2" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
<!--</DockPanel>-->
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsHighlighted" Value="true">
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource Menu.Disable.Foreground}"/>
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="true">
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
<ControlTemplate x:Key="{x:Static MenuItem.SubmenuHeaderTemplateKey}" TargetType="MenuItem">
<Grid SnapsToDevicePixels="true" Background="{DynamicResource Menu.Submenu.Background}" x:Name="_grid" MinHeight="22">
<Rectangle x:Name="Bg" Fill="Transparent" />
<Rectangle x:Name="Inner_Border" Margin="4" Fill="Transparent"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition SharedSizeGroup="Icon" Width="Auto" MinWidth="20"/>
<ColumnDefinition Width="*" MinWidth="60"/>
<ColumnDefinition SharedSizeGroup="MenuItemIGTColumnGroup" Width="Auto" MinWidth="60"/>
<ColumnDefinition Width="13" />
</Grid.ColumnDefinitions>
<ContentPresenter x:Name="Iconh" ContentSource="Icon" Margin="3" VerticalAlignment="Center" Grid.Column="0"/>
<ContentPresenter x:Name="HeaderHost" Margin="3,0,3,0" Grid.Column="1" VerticalAlignment="Center" ContentSource="Header" RecognizesAccessKey="True" TextOptions.TextFormattingMode="Display" />
<TextBlock Grid.Column="2" Margin="10,0,0,0" Text="{TemplateBinding InputGestureText}" VerticalAlignment="Center"/>
<Path x:Name="RightArrow" Grid.Column="3" HorizontalAlignment="Center" VerticalAlignment="Center" Data="M 0 0 L 0 7 L 4 3.5 Z" Fill="{DynamicResource Grip.Submenu.Background.Static}" Margin="8,0,0,0"/>
<Popup x:Name="popup" PlacementTarget="{Binding ElementName=_grid}" Placement="Right" HorizontalOffset="0" AllowsTransparency="True" Focusable="False" PopupAnimation="Fade">
<Border x:Name="SubmenuBorder" SnapsToDevicePixels="True" Background="{DynamicResource Menu.Submenu.Background}" BorderThickness="1" BorderBrush="{DynamicResource MenuItemHighlightedBackground}" Margin="0,0,10,10">
<Border.Effect>
<DropShadowEffect BlurRadius="6" Opacity="0.5" ShadowDepth="4" Direction="330" />
</Border.Effect>
<ItemsPresenter x:Name="_items" />
</Border>
</Popup>
</Grid>
</Grid>
<!--</Border>-->
<ControlTemplate.Triggers>
<Trigger Property="IsHighlighted" Value="True" >
<Setter Property="Visibility" Value="Visible" TargetName="_items" />
<Setter Property="IsOpen" Value="True" TargetName="popup" />
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
<Setter Property="Fill" TargetName="Inner_Border" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
<Setter TargetName="RightArrow" Property="Fill" Value="{DynamicResource Grip.Submenu.Background.Selected}"/>
</Trigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource Menu.Disable.Foreground}"/>
</Trigger>
<Trigger Property="IsSubmenuOpen" Value="true">
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
<Setter Property="Fill" TargetName="Inner_Border" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
<ControlTemplate x:Key="{x:Static MenuItem.SubmenuItemTemplateKey}" TargetType="MenuItem">
<Grid SnapsToDevicePixels="true" Background="{DynamicResource Menu.Submenu.Background}" MinHeight="22">
<Rectangle x:Name="Bg" Fill="Transparent" />
<Rectangle x:Name="InnerBorder" Margin="4"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" MinWidth="24" SharedSizeGroup="IconGroup"/>
<ColumnDefinition Width="Auto" MinWidth="60" />
<ColumnDefinition SharedSizeGroup="MenuItemIGTColumnGroup" Width="Auto" MinWidth="60"/>
<ColumnDefinition Width="20" />
</Grid.ColumnDefinitions>
<ContentPresenter x:Name="Icon" ContentSource="Icon" Margin="{TemplateBinding Padding}" />
<ContentPresenter Grid.Column="1" VerticalAlignment="Center" ContentSource="Header" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
<TextBlock Grid.Column="2" Margin="10,0,0,0" Text="{TemplateBinding InputGestureText}" VerticalAlignment="Center"/>
</Grid>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsHighlighted" Value="True">
<Setter Property="Fill" TargetName="Bg" Value="{DynamicResource Menu.Submenu.MouseOverColor}"/>
</Trigger>
<Trigger Property="Icon" Value="{x:Null}">
<Setter TargetName="Icon" Property="Visibility" Value="Collapsed" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
<Style x:Key="{x:Static MenuItem.SeparatorStyleKey}" TargetType="{x:Type Separator}">
<Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="20,0,2,0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Separator}">
<Border BorderThickness="1" BorderBrush="{DynamicResource Submenu.MouseOverColor}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style TargetType="{x:Type ContextMenu}">
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="OverridesDefaultStyle" Value="True" />
<Setter Property="Grid.IsSharedSizeScope" Value="true" />
<Setter Property="HasDropShadow" Value="True" />
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrush}"></Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ContextMenu}">
<Border x:Name="Border" Background="{DynamicResource Background.Static}" BorderThickness="1" BorderBrush="{DynamicResource Inactive.Selection}">
<Border.Effect>
<DropShadowEffect Color="Black" Direction="135" Opacity="0.8" ShadowDepth="2"/>
</Border.Effect>
<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter TargetName="Border" Property="Background" Value="{DynamicResource Menu.Submenu.Background}" />
<Setter TargetName="Border" Property="BorderBrush" Value="{DynamicResource ContextMenu.MouseOverColor}" />
</Trigger>
<Trigger Property="HasDropShadow" Value="true">
<Setter TargetName="Border" Property="Padding" Value="0,3,0,3" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Resources>
<Style TargetType="{x:Type MenuItem}">
<Setter Property="Background" Value="{DynamicResource Menu.Submenu.Background}"></Setter>
<Setter Property="Foreground" Value="{DynamicResource ControlTextBrush}"></Setter>
<Setter Property="Margin" Value="1,0,1,0"></Setter>
</Style>
</Style.Resources>
</Style>
</ResourceDictionary>
|