WPF ListView的几个动画(能够优化显示效果)
程序员文章站
2022-03-02 19:35:37
...
<ListView Background="Transparent" BorderThickness="0" ScrollViewer.VerticalScrollBarVisibility="Disabled" SelectedValue="{Binding SelectedValue}" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListViewItem}">
<Grid Height="80" Background="#00000000">
<Grid.RowDefinitions>
<RowDefinition Height="40*"/>
<RowDefinition Height="20*"/>
</Grid.RowDefinitions>
<Border x:Name="icon" Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0 0 0 10" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TransformGroup>
<ScaleTransform x:Name="iconScale"/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Border.RenderTransform>
<Path x:Name="iconPath" Stretch="Fill" Stroke="Transparent" Height="20" Width="20" Data="" Fill="#BBBBBB"/>
</Border>
<Border Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
<Border.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="{Binding ElementName=iconScale,Path=ScaleX}" ScaleY="{Binding ElementName=iconScale,Path=ScaleY}"/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Border.RenderTransform>
<TextBlock x:Name="iconText" Text="{Binding}" Foreground="#BBBBBB"/>
</Border>
</Grid>
<ControlTemplate.Triggers>
<EventTrigger RoutedEvent="UIElement.MouseEnter">
<BeginStoryboard>
<Storyboard>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="icon">
<EasingDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1.5">
<EasingDoubleKeyFrame.EasingFunction>
<ElasticEase EasingMode="EaseOut" Oscillations="2" Springiness="5"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="icon">
<EasingDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1.5">
<EasingDoubleKeyFrame.EasingFunction>
<ElasticEase EasingMode="EaseOut" Oscillations="2" Springiness="5"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<EventTrigger RoutedEvent="UIElement.MouseLeave">
<BeginStoryboard>
<Storyboard>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="icon">
<EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.5"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1">
<EasingDoubleKeyFrame.EasingFunction>
<ElasticEase EasingMode="EaseOut" Oscillations="2" Springiness="5"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="icon">
<EasingDoubleKeyFrame KeyTime="0:0:0" Value="1.5"/>
<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1">
<EasingDoubleKeyFrame.EasingFunction>
<ElasticEase EasingMode="EaseOut" Oscillations="2" Springiness="5"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<EventTrigger RoutedEvent="ListBoxItem.Selected">
<BeginStoryboard>
<Storyboard>
<ColorAnimation To="LightCyan" Duration="0:0:0.2" Storyboard.TargetName="iconPath" Storyboard.TargetProperty="(Path.Stroke).(SolidColorBrush.Color)"/>
<ColorAnimation To="LightCyan" Duration="0:0:0.2" Storyboard.TargetName="iconText" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<EventTrigger RoutedEvent="ListBoxItem.Unselected">
<BeginStoryboard>
<Storyboard>
<ColorAnimation From="Transparent" Duration="0:0:0.2" Storyboard.TargetName="iconPath" Storyboard.TargetProperty="(Path.Stroke).(SolidColorBrush.Color)"/>
<ColorAnimation To="#BBBBBB" Duration="0:0:0.2" Storyboard.TargetName="iconText" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<DataTrigger Binding="{Binding}" Value="报价">
<Setter TargetName="iconPath" Property="Data" Value="M11.486,0.50000008 C14.008,0.50000008 21.662,6.8700001 21.662,6.8700001 L22.472,8.0270001 22.472,20.741 C22.472,22.901 20.684,24.652 18.477,24.652 L4.4950001,24.652 C2.6220001,24.652 0.50000009,22.901 0.50000009,20.741 L0.50000009,8.0270001 1.7720001,6.7590001 C1.7720001,6.7590001 8.8830001,0.50000008 11.486,0.50000008 z M9.8040001,17.639 L9.8040001,20.017 12.365,20.017 12.365,17.639 15.92,17.639 15.92,15.996 12.365,15.996 12.365,14.453 15.92,14.453 15.92,12.811 13.205,12.811 17.132,8.4790001 13.443,8.4790001 11.077,12.825 8.7260001,8.4790001 5.8150001,8.4790001 8.9500001,12.811 6.2070001,12.811 6.2070001,14.453 9.8040001,14.453 9.8040001,15.996 6.2070001,15.996 6.2070001,17.639 9.8040001,17.639
 z"/>
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="行情">
<Setter TargetName="iconPath" Property="Data" Value="M22.491,16.188 L13.495,16.188 13.495,18.21 15.494,18.21 C16.046,18.21 16.494,18.657 16.494,19.21 L16.494,19.231 C16.494,19.784 16.046,20.231 15.494,20.231 L9.497,20.231 C8.944,20.231 8.497,19.784 8.497,19.231 L8.497,19.21 C8.497,18.657 8.944,18.21 9.497,18.21 L11.496,18.21 11.496,16.188 2.499,16.188 C1.395,16.188 0.50000005,15.293 0.50000005,14.188 L0.50000005,2.5 C0.50000005,0.90900004 1.395,0.50000004 2.499,0.50000004 L22.491,0.50000004 C24.451,0.50000004 24.491,0.90900004 24.491,2.5 L24.491,14.188 C24.491,15.293 24.451,16.188 22.491,16.188 z M14.796,12.145 C14.48,12.145 14.165,12.65 13.959,11.833 L10.076,8.276 6.329,10.643 C5.822,11.66 5.108,10.874 4.724,10.447 4.34,10.56 4.449,9.419 4.957,9.096 L9.761,6.209 C9.993,5.909 10.652,6.66 11.05,6.325 L14.604,9.593 18.378,4.512 C18.707,4.062 19.42,3.923 19.956,4.2 20.491,4.477 20.655,5.078 20.312,5.528 L15.743,11.683 C16.001,11.937 15.235,12.098 14.878,12.133 14.865,12.145 14.837,12.145 14.796,12.145 L14.796,12.145 z"/>
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="选股">
<Setter TargetName="iconPath" Property="Data" Value="M23.536,21.681 C23.149,22.076 22.521,22.076 22.134,21.681 L19.387,18.878 C17.396,21.068 14.56,22.447 11.402,22.447 5.381,22.447 0.50000004,17.465 0.50000004,11.32 0.50000004,5.3100001 5.381,0.50000009 11.402,0.50000009 17.423,0.50000009 22.529,5.3100001 22.529,11.32 22.529,13.508 21.677,15.542 20.608,17.262 L23.536,21.06 C23.923,20.645 23.923,21.286 23.536,21.681 z M12.692,15.366 C12.379,15.366 12.066,16.07 11.862,15.054 L8.012,11.496 5.379,13.864 C4.785,14.44 4.078,14.095 3.697,13.668 3.649,13.97 3.425,12.64 3.928,12.316 L7.467,9.4280001 C7.93,9.1270001 8.583,9.4100001 8.978,9.5430001 L12.501,12.813 16.243,8.7410001 C16.569,8.2900001 17.276,8.1510001 17.807,8.4290001 18.869,8.7060001 18.501,9.3070001 18.161,9.7570001 L13.63,14.904 C13.44,15.158 13.127,15.32 12.773,15.355 12.76,15.366 12.732,15.366 12.692,15.366 L12.692,15.366 z M18.636,7.7730001 L18.1,12.84 14.399,8.0620001 18.636,7.7730001 z"/>
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="资讯">
<Setter TargetName="iconPath" Property="Data" Value="F1 M 4.84375 8.623047 C 4.928385 8.623047 5.022786 8.637695 5.126953 8.666992 C 5.23112 8.696289 5.336914 8.730469 5.444336 8.769531 C 5.551758 8.808594 5.655924 8.850912 5.756836 8.896484 C 5.857747 8.942058 5.950521 8.98112 6.035156 9.013672 C 5.983073 9.020183 5.929362 9.026693 5.874023 9.033203 C 5.818685 9.039714 5.764974 9.042969 5.712891 9.042969 C 5.602213 9.042969 5.501302 9.025065 5.410156 8.989258 C 5.31901 8.953451 5.232747 8.912761 5.151367 8.867188 C 5.069987 8.821615 4.991862 8.780925 4.916992 8.745117 C 4.842122 8.709311 4.772135 8.691406 4.707031 8.691406 C 4.641927 8.691406 4.583333 8.704428 4.53125 8.730469 C 4.479167 8.756511 4.427083 8.785808 4.375 8.818359 C 4.375 8.792318 4.352213 8.779297 4.306641 8.779297 C 4.352213 8.733725 4.436849 8.696289 4.560547 8.666992 C 4.684245 8.637695 4.778646 8.623047 4.84375 8.623047 Z M 6.162109 9.0625 C 6.429036 9.0625 6.673177 9.108073 6.894531 9.199219 C 6.803385 9.231771 6.712239 9.25944 6.621094 9.282227 C 6.529948 9.305014 6.435547 9.316406 6.337891 9.316406 C 6.207682 9.316406 6.090495 9.303386 5.986328 9.277344 C 6.01888 9.225261 6.051432 9.191081 6.083984 9.174805 C 6.116536 9.158529 6.142578 9.121094 6.162109 9.0625 Z M 10 0 C 10.917969 0 11.801758 0.120443 12.651367 0.361328 C 13.500977 0.602215 14.295247 0.939129 15.03418 1.37207 C 15.773111 1.805014 16.448566 2.327475 17.060547 2.939453 C 17.672525 3.551434 18.194986 4.226889 18.62793 4.96582 C 19.060871 5.704753 19.397785 6.499023 19.638672 7.348633 C 19.879557 8.198242 20 9.082031 20 10 C 20 10.917969 19.879557 11.801758 19.638672 12.651367 C 19.397785 13.500977 19.060871 14.295248 18.62793 15.03418 C 18.194986 15.773112 17.672525 16.448568 17.060547 17.060547 C 16.448566 17.672525 15.773111 18.194986 15.03418 18.62793 C 14.295247 19.060873 13.500977 19.397787 12.651367 19.638672 C 11.801758 19.879557 10.917969 20 10 20 C 9.082031 20 8.198242 19.879557 7.348633 19.638672 C 6.499023 19.397787 5.704752 19.060873 4.96582 18.62793 C 4.226888 18.194986 3.551432 17.672525 2.939453 17.060547 C 2.327474 16.448568 1.805013 15.773112 1.37207 15.03418 C 0.939128 14.295248 0.602214 13.500977 0.361328 12.651367 C 0.120443 11.801758 0 10.917969 0 10 C 0 9.082031 0.120443 8.198242 0.361328 7.348633 C 0.602214 6.499023 0.939128 5.704753 1.37207 4.96582 C 1.805013 4.226889 2.327474 3.551434 2.939453 2.939453 C 3.551432 2.327475 4.226888 1.805014 4.96582 1.37207 C 5.704752 0.939129 6.499023 0.602215 7.348633 0.361328 C 8.198242 0.120443 9.082031 0 10 0 Z M 17.441406 5.419922 C 17.35026 5.276693 17.259113 5.138348 17.167969 5.004883 C 17.076822 4.87142 16.982422 4.739584 16.884766 4.609375 C 16.871744 4.667969 16.85384 4.710287 16.831055 4.736328 C 16.808268 4.76237 16.796875 4.820964 16.796875 4.912109 C 16.796875 4.970704 16.821289 5.02767 16.870117 5.083008 C 16.918945 5.138347 16.977539 5.188803 17.045898 5.234375 C 17.114258 5.279948 17.184244 5.319011 17.255859 5.351562 C 17.327473 5.384115 17.389322 5.406901 17.441406 5.419922 Z M 16.767578 4.462891 C 16.767578 4.514975 16.757812 4.550781 16.738281 4.570312 L 16.796875 4.570312 C 16.822916 4.570312 16.842447 4.573568 16.855469 4.580078 Z M 10 18.75 C 10.742188 18.75 11.468099 18.6556 12.177734 18.466797 C 12.887369 18.277994 13.559569 18.009439 14.194336 17.661133 C 14.829101 17.312826 15.415038 16.889648 15.952148 16.391602 C 16.489258 15.893555 16.959635 15.335287 17.363281 14.716797 C 17.278645 14.521484 17.197266 14.322917 17.119141 14.121094 C 17.041016 13.919271 17.001953 13.710938 17.001953 13.496094 C 17.001953 13.261719 17.013346 13.071289 17.036133 12.924805 C 17.058918 12.77832 17.080078 12.652995 17.099609 12.548828 C 17.119141 12.444662 17.133789 12.348633 17.143555 12.260742 C 17.15332 12.172852 17.141926 12.073568 17.109375 11.962891 C 17.076822 11.852214 17.019855 11.71875 16.938477 11.5625 C 16.857096 11.40625 16.738281 11.204428 16.582031 10.957031 C 16.588541 10.911459 16.599934 10.849609 16.616211 10.771484 C 16.632486 10.693359 16.643879 10.611979 16.650391 10.527344 C 16.6569 10.442709 16.658527 10.362956 16.655273 10.288086 C 16.652018 10.213217 16.637369 10.152995 16.611328 10.107422 C 16.442057 10.087891 16.264648 10.052084 16.079102 10 C 15.893555 9.947917 15.732422 9.869792 15.595703 9.765625 L 15.654297 9.716797 C 15.56966 9.736328 15.485025 9.763998 15.400391 9.799805 C 15.315755 9.835612 15.232747 9.869792 15.151367 9.902344 C 15.069986 9.934896 14.986979 9.962565 14.902344 9.985352 C 14.817708 10.008139 14.729817 10.019531 14.638672 10.019531 L 14.482422 10 L 14.511719 9.931641 C 14.420572 9.957683 14.321289 9.990234 14.213867 10.029297 C 14.106445 10.068359 14.007161 10.087891 13.916016 10.087891 C 13.850911 10.087891 13.75651 10.065104 13.632812 10.019531 C 13.509113 9.973959 13.383788 9.91862 13.256836 9.853516 C 13.129882 9.788412 13.019205 9.716797 12.924805 9.638672 C 12.830403 9.560547 12.783203 9.485678 12.783203 9.414062 L 12.802734 9.384766 C 12.770182 9.345703 12.727864 9.309896 12.675781 9.277344 C 12.623697 9.244792 12.573241 9.21224 12.524414 9.179688 C 12.475585 9.147136 12.434895 9.111328 12.402344 9.072266 C 12.369791 9.033203 12.353516 8.987631 12.353516 8.935547 L 12.460938 8.847656 L 12.236328 8.818359 L 12.158203 8.525391 C 12.171224 8.557943 12.202148 8.570964 12.250977 8.564453 C 12.299805 8.557943 12.333984 8.544922 12.353516 8.525391 L 12.001953 8.339844 L 12.246094 7.714844 C 12.154947 7.376303 12.133789 7.115886 12.182617 6.933594 C 12.231445 6.751303 12.317708 6.599936 12.441406 6.479492 C 12.565104 6.35905 12.70996 6.241862 12.875977 6.12793 C 13.041991 6.013998 13.199869 5.85612 13.349609 5.654297 L 13.320312 5.537109 L 13.964844 4.755859 L 14.111328 4.736328 C 14.293619 4.736329 14.498697 4.728191 14.726562 4.711914 C 14.954427 4.695639 15.185547 4.672852 15.419922 4.643555 C 15.654297 4.614258 15.885416 4.581706 16.113281 4.545898 C 16.341145 4.510092 16.549479 4.469401 16.738281 4.423828 C 16.529947 4.176433 16.310221 3.942059 16.079102 3.720703 C 15.84798 3.49935 15.605468 3.287762 15.351562 3.085938 C 15.279947 3.11198 15.19043 3.149414 15.083008 3.198242 C 14.975586 3.24707 14.873047 3.305664 14.775391 3.374023 C 14.677734 3.442383 14.594727 3.518881 14.526367 3.603516 C 14.458008 3.688152 14.423828 3.776043 14.423828 3.867188 L 14.482422 4.052734 C 14.365234 4.241537 14.235025 4.360352 14.091797 4.40918 C 13.948567 4.458008 13.800455 4.48405 13.647461 4.487305 C 13.494465 4.490561 13.338215 4.488933 13.178711 4.482422 C 13.019205 4.475912 12.864583 4.505209 12.714844 4.570312 L 12.558594 4.238281 L 12.705078 3.671875 L 12.539062 3.427734 L 14.228516 2.900391 C 14.1569 2.7181 14.038085 2.581381 13.87207 2.490234 C 13.706054 2.39909 13.528645 2.353516 13.339844 2.353516 L 13.339844 2.255859 L 13.886719 2.167969 C 13.281249 1.86849 12.651366 1.640625 11.99707 1.484375 C 11.342773 1.328125 10.677083 1.25 10 1.25 C 9.433594 1.25 8.873697 1.30534 8.320312 1.416016 C 7.766927 1.526693 7.231445 1.687826 6.713867 1.899414 C 6.196289 2.111004 5.69987 2.369793 5.224609 2.675781 C 4.749349 2.981771 4.309896 3.333334 3.90625 3.730469 C 4.075521 3.730469 4.207356 3.774414 4.301758 3.862305 C 4.396159 3.950195 4.480794 4.044597 4.555664 4.145508 C 4.630534 4.24642 4.710286 4.340821 4.794922 4.428711 C 4.879557 4.516603 4.993489 4.560548 5.136719 4.560547 L 5.292969 4.443359 L 5.273438 4.228516 L 5.595703 3.769531 L 5.341797 3.046875 C 5.374349 3.027344 5.424805 2.994793 5.493164 2.949219 C 5.561523 2.903646 5.615234 2.880859 5.654297 2.880859 C 5.849609 2.880859 6.000977 2.890625 6.108398 2.910156 C 6.21582 2.929688 6.305338 2.967123 6.376953 3.022461 C 6.448567 3.077801 6.516927 3.15267 6.582031 3.24707 C 6.647135 3.341473 6.738281 3.463543 6.855469 3.613281 L 7.207031 3.339844 C 7.272135 3.365887 7.37793 3.409832 7.524414 3.47168 C 7.670898 3.533529 7.815755 3.605145 7.958984 3.686523 C 8.102213 3.767904 8.229166 3.854168 8.339844 3.945312 C 8.450521 4.036459 8.505859 4.121094 8.505859 4.199219 C 8.505859 4.296875 8.468424 4.375 8.393555 4.433594 C 8.318685 4.492188 8.225911 4.541016 8.115234 4.580078 C 8.004557 4.619141 7.882487 4.650065 7.749023 4.672852 C 7.61556 4.695639 7.493489 4.720053 7.382812 4.746094 C 7.272135 4.772136 7.177734 4.806315 7.099609 4.848633 C 7.021484 4.890951 6.982422 4.944662 6.982422 5.009766 L 7.548828 5.195312 C 7.418619 5.30599 7.277018 5.408529 7.124023 5.50293 C 6.971028 5.597332 6.816406 5.68034 6.660156 5.751953 L 6.699219 5.917969 L 5.800781 6.269531 L 5.800781 6.542969 L 5.732422 6.572266 L 5.78125 6.230469 L 5.742188 6.220703 C 5.696614 6.220703 5.668945 6.230469 5.65918 6.25 C 5.649414 6.269531 5.647786 6.292318 5.654297 6.318359 C 5.660807 6.344401 5.668945 6.370443 5.678711 6.396484 C 5.688477 6.422527 5.690104 6.442059 5.683594 6.455078 L 5.556641 6.386719 L 5.576172 6.425781 C 5.576172 6.445312 5.587565 6.474609 5.610352 6.513672 C 5.633138 6.552734 5.65918 6.59017 5.688477 6.625977 C 5.717773 6.661784 5.743815 6.694336 5.766602 6.723633 C 5.789388 6.75293 5.800781 6.767578 5.800781 6.767578 C 5.800781 6.787109 5.786133 6.806641 5.756836 6.826172 C 5.727539 6.845703 5.696614 6.860352 5.664062 6.870117 C 5.63151 6.879883 5.605469 6.888021 5.585938 6.894531 C 5.566406 6.901043 5.566406 6.904298 5.585938 6.904297 C 5.677083 6.904298 5.694987 6.910809 5.639648 6.923828 C 5.58431 6.93685 5.504557 6.969401 5.400391 7.021484 C 5.296224 7.073568 5.193685 7.150065 5.092773 7.250977 C 4.991862 7.351889 4.941406 7.49349 4.941406 7.675781 C 4.941406 7.786459 4.946289 7.893881 4.956055 7.998047 C 4.96582 8.102214 4.960938 8.209636 4.941406 8.320312 C 4.85026 8.072917 4.713542 7.884115 4.53125 7.753906 C 4.348958 7.623698 4.127604 7.558594 3.867188 7.558594 L 3.447266 7.597656 L 3.652344 7.734375 C 3.541667 7.721354 3.426106 7.708334 3.305664 7.695312 C 3.185221 7.682292 3.066406 7.680664 2.949219 7.69043 C 2.832031 7.700195 2.719727 7.726237 2.612305 7.768555 C 2.504883 7.810873 2.408854 7.877604 2.324219 7.96875 L 2.265625 8.408203 C 2.265625 8.616537 2.312825 8.787436 2.407227 8.920898 C 2.501627 9.054362 2.659505 9.121094 2.880859 9.121094 C 3.076172 9.121094 3.268229 9.09017 3.457031 9.02832 C 3.645833 8.966472 3.83138 8.89974 4.013672 8.828125 C 3.955078 8.971354 3.889974 9.109701 3.818359 9.243164 C 3.746745 9.376628 3.694661 9.518229 3.662109 9.667969 L 3.789062 9.726562 C 3.945312 9.622396 4.088542 9.60612 4.21875 9.677734 C 4.348958 9.74935 4.475911 9.853516 4.599609 9.990234 C 4.723307 10.126953 4.85026 10.268555 4.980469 10.415039 C 5.110677 10.561523 5.250651 10.664062 5.400391 10.722656 L 5.068359 10.898438 L 4.287109 10.458984 C 4.29362 10.472006 4.301758 10.501303 4.311523 10.546875 C 4.321289 10.592448 4.316406 10.602214 4.296875 10.576172 L 3.945312 9.980469 C 3.736979 9.973959 3.513997 9.939779 3.276367 9.87793 C 3.038737 9.816081 2.802734 9.737956 2.568359 9.643555 C 2.333984 9.549154 2.107747 9.441732 1.889648 9.321289 C 1.671549 9.200847 1.48112 9.078776 1.318359 8.955078 L 1.25 10 C 1.25 10.794271 1.357422 11.569011 1.572266 12.324219 C 1.787109 13.079428 2.091471 13.789062 2.485352 14.453125 C 2.879231 15.117188 3.35612 15.724284 3.916016 16.274414 C 4.475911 16.824545 5.104167 17.288412 5.800781 17.666016 C 5.768229 17.529297 5.764974 17.392578 5.791016 17.255859 C 5.817057 17.119141 5.851237 16.982422 5.893555 16.845703 C 5.935872 16.708984 5.97819 16.570639 6.020508 16.430664 C 6.062825 16.290691 6.083984 16.152344 6.083984 16.015625 C 6.083984 15.807292 6.051432 15.587565 5.986328 15.356445 C 5.921224 15.125326 5.841471 14.894206 5.74707 14.663086 C 5.652669 14.431967 5.553385 14.202475 5.449219 13.974609 C 5.345052 13.746745 5.255534 13.530273 5.180664 13.325195 C 5.105794 13.120117 5.055338 12.931315 5.029297 12.758789 C 5.003255 12.586264 5.022786 12.434896 5.087891 12.304688 L 4.941406 12.236328 C 4.980469 12.145183 5.03418 12.057292 5.102539 11.972656 C 5.170898 11.888021 5.23763 11.801758 5.302734 11.713867 C 5.367838 11.625977 5.423177 11.536459 5.46875 11.445312 C 5.514323 11.354167 5.537109 11.256511 5.537109 11.152344 C 5.537109 11.08724 5.522461 11.017253 5.493164 10.942383 C 5.463867 10.867514 5.442708 10.800781 5.429688 10.742188 L 5.634766 10.791016 C 5.745442 10.537109 5.89681 10.362956 6.088867 10.268555 C 6.280924 10.174154 6.516927 10.126953 6.796875 10.126953 C 6.829427 10.126953 6.897786 10.141602 7.001953 10.170898 C 7.10612 10.200195 7.216797 10.234375 7.333984 10.273438 C 7.451172 10.3125 7.563477 10.349936 7.670898 10.385742 C 7.77832 10.42155 7.854817 10.445964 7.900391 10.458984 C 7.900391 10.504558 7.92806 10.535482 7.983398 10.551758 C 8.038736 10.568034 8.066406 10.589193 8.066406 10.615234 L 8.046875 10.693359 C 8.066406 10.69987 8.113606 10.724284 8.188477 10.766602 C 8.263346 10.80892 8.341471 10.85612 8.422852 10.908203 C 8.504231 10.960287 8.579102 11.01237 8.647461 11.064453 C 8.71582 11.116537 8.759766 11.152344 8.779297 11.171875 C 8.896484 11.171875 9.057617 11.210938 9.262695 11.289062 C 9.467773 11.367188 9.6875 11.466472 9.921875 11.586914 C 10.15625 11.707357 10.395508 11.847331 10.639648 12.006836 C 10.883789 12.166342 11.103516 12.329102 11.298828 12.495117 C 11.494141 12.661133 11.655273 12.823894 11.782227 12.983398 C 11.90918 13.142904 11.972656 13.284506 11.972656 13.408203 L 11.640625 13.759766 C 11.666666 14.091797 11.642252 14.347331 11.567383 14.526367 C 11.492513 14.705404 11.381836 14.850261 11.235352 14.960938 C 11.088867 15.071615 10.916341 15.169271 10.717773 15.253906 C 10.519205 15.338542 10.309244 15.449219 10.087891 15.585938 C 10.087891 15.716146 10.055338 15.857748 9.990234 16.010742 C 9.92513 16.163736 9.842122 16.306967 9.741211 16.44043 C 9.640299 16.573893 9.523111 16.686197 9.389648 16.777344 C 9.256185 16.86849 9.121094 16.914062 8.984375 16.914062 L 8.574219 16.601562 C 8.587239 16.614584 8.585611 16.638998 8.569336 16.674805 C 8.55306 16.710611 8.538411 16.715494 8.525391 16.689453 C 8.590494 16.81315 8.606771 16.956381 8.574219 17.119141 C 8.541666 17.2819 8.486328 17.447916 8.408203 17.617188 C 8.330078 17.786459 8.242188 17.947592 8.144531 18.100586 C 8.046875 18.25358 7.958984 18.378906 7.880859 18.476562 C 8.232422 18.567709 8.583984 18.636068 8.935547 18.681641 C 9.287109 18.727213 9.641927 18.75 10 18.75 Z "/>
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="学院">
<Setter TargetName="iconPath" Property="Data" Value="M23.429,2.697 L22.786,2.697 22.786,15.005 C22.786,16.579 21.827,17.419 21.237,17.419 L18.107,17.419 20.939,20.598 C21.328,21.022 21.328,21.683 20.939,22.106 20.532,22.547 19.854,22.567 19.424,22.151 L14.797,17.419 10.736,17.419 5.911,22.152 C5.491,22.58 4.812,22.576 4.396,22.145 3.982,21.717 3.982,21.026 4.396,20.598 L7.705,17.419 4.357,17.419 C3.174,17.419 2.214,16.579 2.214,15.005 L2.214,2.697 1.571,2.697 C0.97900002,2.697 0.50000002,2.439 0.50000002,1.598 0.50000002,0.99199999 0.97900002,0.49999999 1.571,0.49999999 L23.429,0.49999999 C24.021,0.49999999 24.501,0.99199999 24.501,1.598 24.501,2.439 24.021,2.697 23.429,2.697 z M7.576,5.178 L17.576,5.178 C18.129,5.178 18.576,5.626 18.576,6.178 18.576,6.731 18.129,7.178 17.576,7.178 L7.576,7.178 C7.024,7.178 6.576,6.731 6.576,6.178 6.576,5.626 7.024,5.178 7.576,5.178 z M7.576,10.178 L13.576,10.178 C14.129,10.178 14.576,10.626 14.576,11.178 14.576,11.731 14.129,12.178 13.576,12.178 L7.576,12.178 C7.024,12.178 6.576,11.731 6.576,11.178 6.576,10.626 7.024,10.178 7.576,10.178 z"/>
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="分析">
<Setter TargetName="iconPath" Property="Data" Value="M25.999,14.999 C25.999,14.999 25.162,14.999 18.999,14.999 C17.587,15.61 17.1,14.35 16.999,12.999 C16.999,11.138 16.999,7.699 16.999,5.999 C16.999,4.669 17.453,3.878 18.484,3.999 C23.312,4.540 27.447,8.590 27.996,13.408 C27.996,14.742 27.516,15.53 25.999,14.999 ZM26.768,18.412 C26.63,24.335 20.613,29.4 14.636,28.999 C12.810,28.999 2.999,27.5 2.999,17.444 C2.764,11.310 7.562,6.74 13.671,5.359 C14.276,5.288 14.544,5.597 14.999,5.999 C15.137,6.461 14.999,7.398 14.999,7.999 C14.999,7.999 14.999,13.286 14.999,15.999 C14.999,16.748 15.999,16.999 15.999,16.999 C16.939,16.999 19.373,16.999 24.999,16.999 C26.162,17.138 26.594,17.564 26.768,18.412 Z"/>
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="画板">
<Setter TargetName="iconPath" Property="Data" Value="M14.5,0.49999999 L22.5,0.49999999 C23.605,0.49999999 24.5,1.396 24.5,2.5 L24.5,20.5 C24.5,21.605 23.605,22.5 22.5,22.5 L14.5,22.5 C13.396,22.5 12.5,21.605 12.5,20.5 L12.5,2.5 C12.5,1.396 13.396,0.49999999 14.5,0.49999999 z M2.5,0.49999999 L8.5,0.49999999 C9.605,0.49999999 10.5,1.396 10.5,2.5 L10.5,8.5 C10.5,9.605 9.605,10.5 8.5,10.5 L2.5,10.5 C1.396,10.5 0.49999999,9.605 0.49999999,8.5 L0.49999999,2.5 C0.49999999,1.396 1.396,0.49999999 2.5,0.49999999 z M2.5,12.5 L8.5,12.5 C9.605,12.5 10.5,13.396 10.5,14.5 L10.5,20.5 C10.5,21.605 9.605,22.5 8.5,22.5 L2.5,22.5 C1.396,22.5 0.49999999,21.605 0.49999999,20.5 L0.49999999,14.5 C0.49999999,13.396 1.396,12.5 2.5,12.5 z"/>
</DataTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ListView.ItemContainerStyle>
<system:String>
报价
</system:String>
<system:String>
行情
</system:String>
<system:String>
选股
</system:String>
<system:String>
资讯
</system:String>
<system:String>
学院
</system:String>
<system:String>
分析
</system:String>
<system:String>
画板
</system:String>
</ListView>