source: trunk/CrypPlugins/WorkspaceManager/View/BinVisual/BinFunctionVisual.xaml @ 2738

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

-WorkspaceManager: Restructuring Function visuals.(not testable)

File size: 3.4 KB
Line 
1<UserControl x:Class="WorkspaceManager.View.Bin.BinFunctionVisual"
2             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6             xmlns:converter="clr-namespace:WorkspaceManager.View.Converter"
7             mc:Ignorable="d"
8             d:DesignHeight="300" d:DesignWidth="300">
9    <UserControl.Resources>
10        <ResourceDictionary>
11            <ResourceDictionary.MergedDictionaries>
12                <ResourceDictionary Source="../Resource/Styles.xaml"/>
13                <ResourceDictionary Source="../Resource/Animations.xaml"/>
14            </ResourceDictionary.MergedDictionaries>
15        </ResourceDictionary>
16
17        <x:Array Type="{x:Type Button}" x:Key="Operations">
18            <Button Name="SettingButton" ToolTip="Settings" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Height="30" Width="30" Click="OptionChooseHandler">
19                <Image Source="/WorkspaceManager;component/View/Image/setting.png" HorizontalAlignment="Center" SnapsToDevicePixels="True" Height="30" Width="30"></Image>
20            </Button>
21
22            <Button Name="LogButton" ToolTip="Notification" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Height="30" Width="30" Click="OptionChooseHandler">
23                <Image Source="/WorkspaceManager;component/View/Image/log.png" HorizontalAlignment="Center" SnapsToDevicePixels="True" Height="30" Width="30"></Image>
24            </Button>
25
26            <Button Name="MaxButton" ToolTip="Full View" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Height="30" Width="30" Visibility="{Binding Path=ViewState, Converter={StaticResource ResourceKey=ViewStateConverter}, ConverterParameter=Fullscreen}" Click="OptionChooseHandler">
27                <Image Source="/WorkspaceManager;component/View/Image/max.png" HorizontalAlignment="Center" SnapsToDevicePixels="True" Height="30" Width="30"></Image>
28            </Button>
29
30            <Button Name="DataButton" ToolTip="Data" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" MouseEnter="SettingButton_MouseEnter" Height="30" Width="30" Click="OptionChooseHandler">
31                <Image Source="/WorkspaceManager;component/View/Image/data.png" HorizontalAlignment="Center" SnapsToDevicePixels="True" Height="30" Width="30">
32                </Image>
33            </Button>
34
35            <Button Name="PresentationButton" ToolTip="Presentation" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" Height="30" Width="30" Click="OptionChooseHandler">
36                <Image Source="/WorkspaceManager;component/View/Image/presentation.png" HorizontalAlignment="Center" SnapsToDevicePixels="True" Height="30" Width="30"></Image>
37            </Button>
38
39            <Button ToolTip="Minimize" Style="{StaticResource ResourceKey=BottomBoxBtnStyle}" MouseEnter="SettingButton_MouseEnter" Height="30" Width="30" Click="OptionChooseHandler">
40                <Image Source="/WorkspaceManager;component/View/Image/minimize.png" HorizontalAlignment="Center" SnapsToDevicePixels="True" Height="30" Width="30"/>
41            </Button>
42        </x:Array>
43    </UserControl.Resources>
44   
45    <Grid>
46           
47    </Grid>
48</UserControl>
Note: See TracBrowser for help on using the repository browser.