source: trunk/CrypPlugins/WorkspaceManager/View/VisualComponents/DataPresentation.xaml @ 2388

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

-DataPresentation redesigned
-Usability improved

File size: 2.9 KB
Line 
1<UserControl x:Class="WorkspaceManager.View.VisualComponents.DataPresentation"
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:z="clr-namespace:WorkspaceManager.View.Converter"
7             mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="500">
8    <UserControl.LayoutTransform>
9        <ScaleTransform ScaleX="0.7" ScaleY="0.7"></ScaleTransform>
10    </UserControl.LayoutTransform>
11    <UserControl.Resources>
12        <ResourceDictionary>
13            <ResourceDictionary.MergedDictionaries>
14                <ResourceDictionary Source="../Resource/Styles.xaml"/>
15                <ResourceDictionary Source="../Resource/Animations.xaml"/>
16            </ResourceDictionary.MergedDictionaries>
17            <z:ConnectorToColorConverter x:Key="ColorConverter"></z:ConnectorToColorConverter>
18            <z:InputOutputConverter x:Key="InputOutputConverter"></z:InputOutputConverter>
19        </ResourceDictionary>
20    </UserControl.Resources>
21    <DockPanel LastChildFill="True">
22        <Border CornerRadius="2" BorderBrush="#777777" BorderThickness="1" Background="{StaticResource ResourceKey=NormalBrush}" Padding="3" DockPanel.Dock="Top" Height="50">
23            <ListView Background="Transparent" Name="listViewLogList" ItemsSource="{Binding}">
24                <ListView.ItemTemplate>
25                    <DataTemplate>
26                        <Border x:Name="ItemEntry" Margin="1" BorderThickness="1" BorderBrush="#AAFFFFFF" Background="#55FFFFFF">
27                            <StackPanel Orientation="Horizontal" Margin="2">
28                                <TextBlock Text="{Binding Path=Caption}" FontSize="17" Margin="2"></TextBlock>
29                            </StackPanel>
30                        </Border>
31                    </DataTemplate>
32                </ListView.ItemTemplate>
33                <ListView.ItemsPanel>
34                    <ItemsPanelTemplate>
35                        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"></StackPanel>
36                    </ItemsPanelTemplate>
37                </ListView.ItemsPanel>
38            </ListView>
39        </Border>
40        <Border DockPanel.Dock="Bottom" CornerRadius="2" Background="#33FFFFFF">
41            <StackPanel>
42                <TextBlock x:Name="Input" FontSize="18" Text="Connector Type: N/A"></TextBlock>
43            </StackPanel>
44        </Border>
45        <Border CornerRadius="2" BorderBrush="#777777" BorderThickness="1" Background="#22123456" Padding="3">
46            <Grid>
47                <TextBlock x:Name="DataBox" Foreground="White" FontSize="23"></TextBlock>
48            </Grid>
49        </Border>
50    </DockPanel>
51</UserControl>
Note: See TracBrowser for help on using the repository browser.