source: trunk/CrypPlugins/WorkspaceManager/View/Container/ConnectorView.xaml @ 1892

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

-Logging added
-Progress bar added
-DataPresentation now updating
-PluginContainerView complete rebuilt
-Several images added

File size: 3.1 KB
Line 
1<UserControl x:Class="WorkspaceManager.View.Container.ConnectorView"
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             mc:Ignorable="d" Background="{DynamicResource ResourceKey=CheatBrush}">
7    <UserControl.Resources>
8        <ResourceDictionary>
9            <ResourceDictionary.MergedDictionaries>
10                <ResourceDictionary Source="../Resource/Brushes.xaml"/>
11            </ResourceDictionary.MergedDictionaries>
12        </ResourceDictionary>
13    </UserControl.Resources>
14    <Grid>
15        <Popup x:Name="BubblePopup" PopupAnimation="Fade" HorizontalOffset="-21" VerticalOffset="8" PlacementTarget="{Binding ElementName=Ellipse}" Placement="Top" StaysOpen="False" AllowsTransparency="True" Width="200" Height="100" >
16            <Grid x:Name="BubbleGrid" Margin="2">
17                <Grid.Effect>
18                    <DropShadowEffect Opacity="0.8"></DropShadowEffect>
19                </Grid.Effect>
20                <Grid.LayoutTransform>
21                    <ScaleTransform ScaleX="0.6" ScaleY="0.6"></ScaleTransform>
22                </Grid.LayoutTransform>
23                <Grid.RowDefinitions>
24                    <RowDefinition Height="*"/>
25                    <RowDefinition Height="40"/>
26                </Grid.RowDefinitions>
27                <Border Background="{StaticResource ResourceKey=BubblePopupLinearBrush}" BorderBrush="#f8f692" CornerRadius="10">
28                    <Grid Margin="6">
29                        <ScrollViewer>
30                            <TextBlock x:Name="Content" Foreground="#444444" FontSize="16"
31                                       Text="{Binding Path=Data, FallbackValue=N/A}" TextWrapping="Wrap"></TextBlock>
32                        </ScrollViewer>
33                    </Grid>
34                </Border>
35                <Path Fill="#ffffec" Stretch="Fill" Stroke="#f8f692" HorizontalAlignment="Left" Margin="30,-1.35,0,0" Width="25" Grid.Row="1" Data="M18,154.45381 L29.999666,187.66699 40.791059,154.54395">
36                    <Path.RenderTransform>
37                        <ScaleTransform ScaleY="0.5"></ScaleTransform>
38                    </Path.RenderTransform>
39                </Path>
40            </Grid>
41        </Popup>
42        <Path Name="ConnectorRep" Margin="1,1,1,1" Fill="Black" Stretch="Fill" Stroke="#373e43" StrokeThickness="1" Width="10" Height="15" Data="M18,154.45381 L29.999666,187.66699 40.791059,154.54395">
43            <Path.Effect>
44                <DropShadowEffect ShadowDepth="0" BlurRadius="3.5"></DropShadowEffect>
45            </Path.Effect>
46            <Path.LayoutTransform>
47                <TransformGroup>
48                    <ScaleTransform x:Name="Scale"></ScaleTransform>
49                    <RotateTransform x:Name="Rotation"></RotateTransform>
50                </TransformGroup>
51            </Path.LayoutTransform>
52        </Path>
53    </Grid>
54</UserControl>
Note: See TracBrowser for help on using the repository browser.