aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-20 10:29:43 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-20 10:29:43 +0300
commit4628bef2839797fa16f3702c8ced6655a4af80b5 (patch)
tree1716ef0a69c0d263c1c30d3fe018ac620532fd4d /Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes
parent3970e5d4d2259f31608bd000732e4f731b896bd7 (diff)
downloadTango-4628bef2839797fa16f3702c8ced6655a4af80b5.tar.gz
Tango-4628bef2839797fa16f3702c8ced6655a4af80b5.zip
Fixed test designer tooltips.
Applied xml/pdb exclude/include through build events. ITestContext docs.
Diffstat (limited to 'Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes')
-rw-r--r--Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml94
1 files changed, 5 insertions, 89 deletions
diff --git a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml
index 6455b8fcb..e8e5ffb91 100644
--- a/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml
+++ b/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Themes/Generic.xaml
@@ -54,6 +54,11 @@
<converters:BooleanToVisibilityInversedConverter x:Key="BooleanToVisibilityInversedConverter" />
<Style TargetType="{x:Type completion:CompletionList}">
+ <Style.Resources>
+ <Style TargetType="ToolTip">
+
+ </Style>
+ </Style.Resources>
<Setter Property="Background" Value="{StaticResource CompletionBackgroundBrush}"></Setter>
<Setter Property="BorderThickness" Value="0"></Setter>
@@ -84,95 +89,6 @@
<Setter.Value>
<DataTemplate>
<Border Background="{StaticResource CompletionToolTipBackgroundBrush}" CornerRadius="3" BorderThickness="0.5" BorderBrush="#434343" Padding="10 5" TextElement.Foreground="{StaticResource ScriptForegroundBrush}" TextElement.FontSize="12">
- <!--<ContentControl Content="{Binding}">
- <ContentControl.Style>
- <Style TargetType="ContentControl">
- <Setter Property="ContentTemplate">
- <Setter.Value>
- <DataTemplate>
- <ContentPresenter Content="{Binding PopupControl}" />
- </DataTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <DataTrigger Binding="{Binding Type}" Value="method">
- <Setter Property="ContentTemplate">
- <Setter.Value>
- <DataTemplate>
- <StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding ReturnType}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock>
- <TextBlock Margin="5 0 0 0" Text="{Binding Class}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock>
- <TextBlock>.</TextBlock>
- <TextBlock Text="{Binding Text}"></TextBlock>
- <TextBlock>(</TextBlock>
- <ItemsControl ItemsSource="{Binding Parameters}">
- <ItemsControl.ItemsPanel>
- <ItemsPanelTemplate>
- <StackPanel Orientation="Horizontal"></StackPanel>
- </ItemsPanelTemplate>
- </ItemsControl.ItemsPanel>
- <ItemsControl.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding Type.Name}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock>
- <TextBlock Margin="5 0 0 0" Text="{Binding Name}"></TextBlock>
- <TextBlock Margin="0 0 5 0" Text="," Visibility="{Binding IsLast,Converter={StaticResource BooleanToVisibilityInversedConverter}}"></TextBlock>
- </StackPanel>
- </DataTemplate>
- </ItemsControl.ItemTemplate>
- </ItemsControl>
- <TextBlock>)</TextBlock>
-
- <StackPanel Margin="5 0 0 0" Orientation="Horizontal" Visibility="{Binding HasOverloads,Converter={StaticResource BooleanToVisibilityConverter}}">
- <TextBlock>(+</TextBlock>
- <TextBlock Margin="2 0" Text="{Binding Overloads}"></TextBlock>
- <TextBlock>overloads)</TextBlock>
- </StackPanel>
- </StackPanel>
-
- <TextBlock Text="{Binding Description}"></TextBlock>
- </StackPanel>
- </DataTemplate>
- </Setter.Value>
- </Setter>
- </DataTrigger>
-
- <DataTrigger Binding="{Binding Type}" Value="property">
- <Setter Property="ContentTemplate">
- <Setter.Value>
- <DataTemplate>
- <StackPanel>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding ReturnType}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock>
- <TextBlock Margin="5 0 0 0" Text="{Binding Class}" Foreground="{StaticResource ScriptReferenceTypesBrush}"></TextBlock>
- <TextBlock>.</TextBlock>
- <TextBlock Text="{Binding Text}"></TextBlock>
- <TextBlock Margin="5 0 0 0">
- <Run>{</Run>
- <Run Foreground="{StaticResource ScriptKeywordBrush}">get</Run><Run>;</Run>
- <Run Foreground="{StaticResource ScriptKeywordBrush}">set</Run><Run>;</Run>
- <Run>}</Run>
- </TextBlock>
- </StackPanel>
-
- <TextBlock Text="{Binding Description}"></TextBlock>
- </StackPanel>
- </DataTemplate>
- </Setter.Value>
- </Setter>
- </DataTrigger>
- </Style.Triggers>
- </Style>
- </ContentControl.Style>
-
- <ContentControl.ContentTemplate>
- <DataTemplate>
- <ContentPresenter Content="{Binding PopupControl}" />
- </DataTemplate>
- </ContentControl.ContentTemplate>
- </ContentControl>-->
-
<ContentPresenter DataContext="{Binding}" Content="{Binding PopupControl}" />
</Border>
</DataTemplate>