|
@@ -59,22 +59,22 @@
|
|
|
</ListBox.Template>
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate DataType="local:FunctionTemplate">
|
|
|
- <TextBlock Text="{Binding Template}"
|
|
|
- FontFamily="Consolas" FontSize="12"
|
|
|
- Padding="5"
|
|
|
- Tag="{Binding}"
|
|
|
- MouseLeftButtonUp="FunctionTemplate_Click">
|
|
|
- <TextBlock.ToolTip>
|
|
|
+ <Label Content="{Binding Template}"
|
|
|
+ FontFamily="Consolas" FontSize="12"
|
|
|
+ Padding="5"
|
|
|
+ Tag="{Binding}"
|
|
|
+ MouseDoubleClick="FunctionTemplate_Click">
|
|
|
+ <Label.ToolTip>
|
|
|
<ToolTip Background="LightGray">
|
|
|
<StackPanel>
|
|
|
<TextBlock Text="{Binding Tooltip}"
|
|
|
- FontFamily="Consolas" FontSize="12"/>
|
|
|
+ FontFamily="Consolas" FontSize="12"/>
|
|
|
<TextBlock Text="{Binding Description}" FontSize="12"
|
|
|
- Style="{StaticResource tooltipDescriptionStyle}"/>
|
|
|
+ Style="{StaticResource tooltipDescriptionStyle}"/>
|
|
|
</StackPanel>
|
|
|
</ToolTip>
|
|
|
- </TextBlock.ToolTip>
|
|
|
- </TextBlock>
|
|
|
+ </Label.ToolTip>
|
|
|
+ </Label>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|
|
|
</ListBox>
|
|
@@ -102,7 +102,7 @@
|
|
|
<Label Content="{Binding}"
|
|
|
FontFamily="Consolas" FontSize="12"
|
|
|
Tag="{Binding}"
|
|
|
- MouseLeftButtonUp="Variable_Click"/>
|
|
|
+ MouseDoubleClick="Variable_Click"/>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|
|
|
</ListBox>
|