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

Last change on this file since 1892 was 1892, checked in by matkovic, 11 years ago

-Fullscreen enhanced
-TextInput added
-Picture scaling added
-Textinput scaling added
-Textinput format command added
-Several style changes
-Progressbar redesigned
-Last log message now appearing
-IControlContainer commenced
-Several icons added
-Plugin state now stored and loaded
-Plugin height and width now storing and loading
-Several misc changes

File size: 4.4 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        <Border Name="Main" Height="35" Width="300" DockPanel.Dock="Bottom" VerticalAlignment="Bottom" ClipToBounds="True" Background="{StaticResource ResourceKey=BottomBoxBrushLinearBrush}" BorderBrush="#bfd0f5" BorderThickness="0.65" CornerRadius="0,0,5,5">
23            <StackPanel Orientation="Horizontal">
24                <Border Opacity="0.85" CornerRadius="0,0,0,5" HorizontalAlignment="Left" Margin="0.65">
25                    <Border.Background>
26                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
27                            <GradientBrush.GradientStops>
28                                <GradientStopCollection>
29                                    <GradientStop Color="#0b85f8" Offset="-1"/>
30                                    <GradientStop Color="#333333" Offset="1.0"/>
31                                </GradientStopCollection>
32                            </GradientBrush.GradientStops>
33                        </LinearGradientBrush>
34                    </Border.Background>
35                    <StackPanel HorizontalAlignment="left" Orientation="Horizontal">
36                        <Button Height="18" Margin="5,2,5,0" Style="{StaticResource ResourceKey=ScalePluginContainerButtonStyle}">
37                            <Image VerticalAlignment="Top" Source="/WorkspaceManager;component/View/Image/ct.png"></Image>
38                        </Button>
39                    </StackPanel>
40                </Border>
41                <Button Margin="5,0,0,0" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Name="ADDIMG" Click="Button_Click" Foreground="WhiteSmoke" Padding="10">
42                    <StackPanel Orientation="Horizontal">
43                        <Image VerticalAlignment="Center" Source="/WorkspaceManager;component/View/Image/add.png" Height="27"></Image>
44                        <TextBlock Text="Add Image" VerticalAlignment="Center"></TextBlock>
45                    </StackPanel>
46                </Button>
47
48                <Button Margin="5,0,0,0" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Name="ADDTXT" Click="Button_Click" Foreground="WhiteSmoke" Padding="10">
49                    <StackPanel Orientation="Horizontal">
50                        <Image VerticalAlignment="Center" Source="/WorkspaceManager;component/View/Image/anno.png" Height="27"></Image>
51                        <TextBlock Text="Add Text Attachment" VerticalAlignment="Center"></TextBlock>
52                    </StackPanel>
53                </Button>
54            </StackPanel>
55           
56        </Border>
57
58        <!--<StackPanel Orientation="Horizontal" Name="Sub" HorizontalAlignment="Center" Opacity="0.6" DockPanel.Dock="Bottom" Height="23" VerticalAlignment="Bottom" Visibility="Visible">
59            <StackPanel.RenderTransform>
60                <TranslateTransform></TranslateTransform>
61            </StackPanel.RenderTransform>
62            <Image VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="10,0,5,0" Source="/WorkspaceManager;component/View/Image/arrow.png" Width="14"/>
63            <Image VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,2" Source="/WorkspaceManager;component/View/Image/arrow.png" Width="17"/>
64            <Image VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="5,0,10,0" Source="/WorkspaceManager;component/View/Image/arrow.png" Width="14"/>
65        </StackPanel>-->
66    </DockPanel>
67</UserControl>
Note: See TracBrowser for help on using the repository browser.