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

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

-PluginContainerView: IControlPlaceHolder position changed -> instead of of a bar in the PluginWindow itself there's now a Button which opens a popup. You can find the button in the maxed form of the window of the plugin (IC).

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