source: trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/BottomBox.xaml @ 1837

Last change on this file since 1837 was 1837, checked in by matkovic, 11 years ago
  • added image import functionality
File size: 3.8 KB
Line 
1<UserControl x:Class="WorkspaceManager.View.VisualComponents.BottomBox"
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:z="clr-namespace:WorkspaceManager.View.Converter"
6    xmlns:p="clr-namespace:WorkspaceManager.Properties">
7    <UserControl.Resources>
8        <ResourceDictionary>
9            <ResourceDictionary.MergedDictionaries>
10                <ResourceDictionary Source="../Resource/Styles.xaml"/>
11                <ResourceDictionary Source="../Resource/Animations.xaml"/>
12            </ResourceDictionary.MergedDictionaries>
13            <z:ScaleToPercentageConverter x:Key="PercentageConverter"></z:ScaleToPercentageConverter>
14        </ResourceDictionary>
15    </UserControl.Resources>
16   
17    <UserControl.Effect>
18        <DropShadowEffect BlurRadius="10" Color="Black" ShadowDepth="0.5" Direction="90" Opacity="1"></DropShadowEffect>
19    </UserControl.Effect>
20
21    <DockPanel Name="Root">
22        <DockPanel.Background>
23            <SolidColorBrush Opacity="0.01" Color="#444444"></SolidColorBrush>
24        </DockPanel.Background>
25        <Border Name="Main" Height="25" Width="300" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" ClipToBounds="True" Background="{StaticResource ResourceKey=BottomBoxBrushLinearBrush}" BorderBrush="#bfd0f5" BorderThickness="0.65" CornerRadius="0,0,5,5">
26            <StackPanel Orientation="Horizontal">
27                <Border Opacity="0.85" CornerRadius="0,0,0,5" HorizontalAlignment="Left" Margin="0.65">
28                    <Border.Background>
29                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
30                            <GradientBrush.GradientStops>
31                                <GradientStopCollection>
32                                    <GradientStop Color="#0b85f8" Offset="-1"/>
33                                    <GradientStop Color="#333333" Offset="1.0"/>
34                                </GradientStopCollection>
35                            </GradientBrush.GradientStops>
36                        </LinearGradientBrush>
37                    </Border.Background>
38                    <StackPanel HorizontalAlignment="left" Orientation="Horizontal">
39                        <Button Height="18" Margin="5,2,5,0" Style="{StaticResource ResourceKey=ScalePluginContainerButtonStyle}">
40                            <Image VerticalAlignment="Top" Source="/WorkspaceManager;component/View/Image/ct.png"></Image>
41                        </Button>
42                    </StackPanel>
43                </Border>
44                <Button Height="18"  Margin="5,2,5,0" Style="{StaticResource ResourceKey=ScalePluginContainerButtonStyle}" Click="Button_Click" Content="Add Image" Foreground="WhiteSmoke">
45                </Button>
46            </StackPanel>
47           
48        </Border>
49
50        <!--<StackPanel Orientation="Horizontal" Name="Sub" HorizontalAlignment="Center" Opacity="0.6" DockPanel.Dock="Bottom" Height="23" VerticalAlignment="Bottom" Visibility="Visible">
51            <StackPanel.RenderTransform>
52                <TranslateTransform></TranslateTransform>
53            </StackPanel.RenderTransform>
54            <Image VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="10,0,5,0" Source="/WorkspaceManager;component/View/Image/arrow.png" Width="14"/>
55            <Image VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,2" Source="/WorkspaceManager;component/View/Image/arrow.png" Width="17"/>
56            <Image VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="5,0,10,0" Source="/WorkspaceManager;component/View/Image/arrow.png" Width="14"/>
57        </StackPanel>-->
58    </DockPanel>
59</UserControl>
Note: See TracBrowser for help on using the repository browser.