-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathFilterActivity.xaml
48 lines (47 loc) · 4.54 KB
/
FilterActivity.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="LogViewer.FilterActivity"
x:Name="UserControl"
UseLayoutRounding="True"
d:DesignWidth="640" d:DesignHeight="480" HorizontalAlignment="Left" VerticalAlignment="Top">
<Grid x:Name="LayoutRoot">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="FilterStateGroup">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="0:0:0.3"/>
</VisualStateGroup.Transitions>
<VisualState x:Name="Filtered">
<Storyboard>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="Path">
<EasingColorKeyFrame KeyTime="0" Value="#FFE7670D"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="Path">
<EasingColorKeyFrame KeyTime="0" Value="#FFE7670D"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="Path_0">
<EasingColorKeyFrame KeyTime="0" Value="#FFE7670D"/>
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="Path_0">
<EasingColorKeyFrame KeyTime="0" Value="#FFE7670D"/>
</ColorAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Path">
<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Path_0">
<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="NotFiltered"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Canvas x:Name="Group" HorizontalAlignment="Left" VerticalAlignment="Top">
<Path x:Name="Path" Width="17.964" Height="18.062" Canvas.Left="2.017" Canvas.Top="2" Stretch="Fill" StrokeMiterLimit="2.75" Stroke="#FF001BB1" Data="F1 M15.6441,183.383 L5.68954,173.451 C3.58536,171.346 2.66663,168.484 2.68854,165.824 L2.68854,165.824 C2.70932,161.936 4.4296,158.102 7.45135,155.08 L52.2773,110.276 C46.0292,99.6765 42.4301,87.2919 42.4301,74.1133 L42.4301,74.1133 C42.4301,34.6442 74.4065,2.66666 113.87,2.66666 L113.87,10.7739 C78.8927,10.8165 50.5996,39.114 50.5252,74.1133 L50.5252,74.1133 C50.5252,86.8654 54.2952,98.7098 60.7675,108.642 L62.5731,111.392 13.1768,160.794 C11.4892,162.438 10.7411,164.489 10.763,165.824 L10.763,165.824 C10.7838,166.818 11.0189,167.309 11.4247,167.736 L21.3463,177.669 C21.7095,178.032 22.2552,178.299 23.2264,178.299 L23.2264,178.299 C24.5726,178.321 26.6331,177.583 28.2999,175.928 L77.8777,126.334 80.6119,128.026 C90.2886,134.008 101.641,137.457 113.87,137.457 L113.87,137.457 C148.848,137.388 177.151,109.091 177.215,74.1133 L177.215,74.1133 C177.151,39.114 148.848,10.8165 113.87,10.7739 L113.87,2.66666 C153.345,2.66666 185.321,34.6442 185.321,74.1133 L185.321,74.1133 C185.321,113.561 153.345,145.532 113.87,145.532 L113.87,145.532 C101.278,145.532 89.4235,142.275 79.1377,136.539 L33.9814,181.685 C30.9377,184.621 27.1461,186.384 23.2264,186.384 L23.1203,186.384 23.1203,186.384 C20.4922,186.384 17.7154,185.476 15.6441,183.383 z" Fill="#FF001BB1" UseLayoutRounding="False" Opacity="0.6"/>
<Path x:Name="Path_0" Width="9.157" Height="9.158" Canvas.Left="8.443" Canvas.Top="4.528" Stretch="Fill" StrokeThickness="1.33333" StrokeMiterLimit="2.75" Data="F1 M 67.6355,74.1078C 67.6355,48.5654 88.3232,27.8777 113.859,27.8777L 113.859,27.8777C 139.396,27.8777 160.105,48.5654 160.105,74.1078L 160.105,74.1078C 160.105,99.6437 139.396,120.331 113.859,120.331L 113.859,120.331C 88.3232,120.331 67.6355,99.6437 67.6355,74.1078 Z M 72.4837,74.1078C 72.5375,96.9577 91.0038,115.435 113.859,115.483L 113.859,115.483C 136.716,115.435 155.192,96.9577 155.235,74.1078L 155.235,74.1078C 155.192,51.2514 136.716,32.7751 113.859,32.7325L 113.859,32.7325C 91.0038,32.7751 72.5375,51.2514 72.4837,74.1078 Z " Fill="#FF001BB1" UseLayoutRounding="False" Stroke="#9E001BB1" Opacity="0.6"/>
</Canvas>
</Grid>
</UserControl>