|
1 |
| -<UserControl |
| 1 | +<UserControl x:Class="Rubberduck.UI.SourceControl.SourceControlView" |
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
5 | 5 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 | 6 | xmlns:themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero"
|
7 | 7 | xmlns:sourceControl="clr-namespace:Rubberduck.UI.SourceControl"
|
8 | 8 | xmlns:controls="clr-namespace:Rubberduck.UI.Controls"
|
9 |
| - xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero2" x:Class="Rubberduck.UI.SourceControl.SourceControlView" |
10 | 9 | mc:Ignorable="d"
|
11 | 10 | d:DesignHeight="600" d:DesignWidth="300"
|
12 | 11 | d:DataContext="{d:DesignInstance {x:Type sourceControl:SourceControlViewViewModel}, IsDesignTimeCreatable=False}">
|
|
289 | 288 | <DockPanel x:Name="Header">
|
290 | 289 | <ContentPresenter ContentSource="Header" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
291 | 290 | <Popup x:Name="PART_Popup" AllowsTransparency="true" Focusable="false" HorizontalOffset="-1" IsOpen="{Binding IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" Placement="Bottom">
|
292 |
| - <Themes:SystemDropShadowChrome x:Name="Shdw" Color="Transparent"> |
| 291 | + <themes:SystemDropShadowChrome x:Name="Shdw" Color="Transparent"> |
293 | 292 | <Border x:Name="SubMenuBorder" BorderBrush="{StaticResource ToolBarMenuBorder}" BorderThickness="1" Background="{StaticResource ToolBarSubMenuBackground}">
|
294 | 293 | <Grid>
|
295 | 294 | <Rectangle Fill="{StaticResource ToolBarSubMenuBackground}" HorizontalAlignment="Left" Height="1" Margin="0,-1,0,0" VerticalAlignment="Top" Width="{Binding ActualWidth, ElementName=Header}"/>
|
|
307 | 306 | </ScrollViewer>
|
308 | 307 | </Grid>
|
309 | 308 | </Border>
|
310 |
| - </Themes:SystemDropShadowChrome> |
| 309 | + </themes:SystemDropShadowChrome> |
311 | 310 | </Popup>
|
312 | 311 | </DockPanel>
|
313 | 312 | </Border>
|
|
380 | 379 | <ContentPresenter Grid.Column="0" ContentSource="Header" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
381 | 380 | <Path Grid.Column="1" DockPanel.Dock="Right" Data="{StaticResource RightArrow}" Fill="{TemplateBinding Foreground}" Margin="4,0,6,0" VerticalAlignment="Center"/>
|
382 | 381 | <Popup x:Name="PART_Popup" AllowsTransparency="true" Focusable="false" IsOpen="{Binding IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}" Placement="Right">
|
383 |
| - <Themes:SystemDropShadowChrome x:Name="Shdw" Color="Transparent"> |
| 382 | + <themes:SystemDropShadowChrome x:Name="Shdw" Color="Transparent"> |
384 | 383 | <Border x:Name="SubMenuBorder" BorderBrush="{StaticResource ToolBarMenuBorder}" BorderThickness="1" Background="{StaticResource ToolBarSubMenuBackground}" Grid.IsSharedSizeScope="true">
|
385 | 384 | <ScrollViewer x:Name="SubMenuScrollViewer" Style="{DynamicResource {ComponentResourceKey ResourceId=MenuScrollViewer, TypeInTargetAssembly={x:Type FrameworkElement}}}">
|
386 | 385 | <Grid RenderOptions.ClearTypeHint="Enabled">
|
|
395 | 394 | </Grid>
|
396 | 395 | </ScrollViewer>
|
397 | 396 | </Border>
|
398 |
| - </Themes:SystemDropShadowChrome> |
| 397 | + </themes:SystemDropShadowChrome> |
399 | 398 | </Popup>
|
400 | 399 | </Grid>
|
401 | 400 | <ControlTemplate.Triggers>
|
|
0 commit comments