5 changed files with 31 additions and 129 deletions
@ -1,35 +0,0 @@ |
|||||||
<UserControl x:Class="ICSharpCode.AvalonEdit.AddIn.CaretHighlight" |
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
|
||||||
<Grid HorizontalAlignment="Left" VerticalAlignment="Top"> |
|
||||||
<Border |
|
||||||
Name="el" |
|
||||||
CornerRadius="2" |
|
||||||
BorderThickness="1" |
|
||||||
BorderBrush="Black"> |
|
||||||
<Border.Triggers> |
|
||||||
<EventTrigger RoutedEvent="Border.Loaded"> |
|
||||||
<BeginStoryboard> |
|
||||||
<Storyboard> |
|
||||||
<DoubleAnimation |
|
||||||
Storyboard.TargetName="el" |
|
||||||
Storyboard.TargetProperty="Width" |
|
||||||
From="2" To="12" Duration="0:0:0.4" |
|
||||||
AutoReverse="True" RepeatBehavior="1x" /> |
|
||||||
<DoubleAnimation |
|
||||||
Storyboard.TargetName="el" |
|
||||||
Storyboard.TargetProperty="Height" |
|
||||||
From="17" To="27" Duration="0:0:0.4" |
|
||||||
AutoReverse="True" RepeatBehavior="1x" /> |
|
||||||
<DoubleAnimation |
|
||||||
Storyboard.TargetName="el" |
|
||||||
Storyboard.TargetProperty="Opacity" |
|
||||||
From="1" To="0" Duration="0:0:0.2" BeginTime="0:0:0.6" |
|
||||||
RepeatBehavior="1x" /> |
|
||||||
</Storyboard> |
|
||||||
</BeginStoryboard> |
|
||||||
</EventTrigger> |
|
||||||
</Border.Triggers> |
|
||||||
</Border> |
|
||||||
</Grid> |
|
||||||
</UserControl> |
|
||||||
@ -1,26 +0,0 @@ |
|||||||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
|
||||||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
|
||||||
|
|
||||||
using System; |
|
||||||
using System.Collections.Generic; |
|
||||||
using System.Text; |
|
||||||
using System.Windows; |
|
||||||
using System.Windows.Controls; |
|
||||||
using System.Windows.Data; |
|
||||||
using System.Windows.Documents; |
|
||||||
using System.Windows.Input; |
|
||||||
using System.Windows.Media; |
|
||||||
|
|
||||||
namespace ICSharpCode.AvalonEdit.AddIn |
|
||||||
{ |
|
||||||
/// <summary>
|
|
||||||
/// Interaction logic for CaretHighlight.xaml
|
|
||||||
/// </summary>
|
|
||||||
public partial class CaretHighlight : UserControl |
|
||||||
{ |
|
||||||
public CaretHighlight() |
|
||||||
{ |
|
||||||
InitializeComponent(); |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
Loading…
Reference in new issue