初次尝试,用Expression Blend设计动画,然后在VS 2008中通过编码将动画指派给需要它的控件,感觉不错。
WPF is interesting! I'm a desinger and developer!!

OutlookBar.xml:
WPF: Designer and Developer<UserControl x:Class="KingUCLs.OutlookBar"
WPF: Designer and Developer    xmlns
="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
WPF: Designer and Developer    xmlns:x
="http://schemas.microsoft.com/winfx/2006/xaml"
WPF: Designer and Developer    Height
="300" Width="300">
WPF: Designer and Developer    
<UserControl.Resources>
WPF: Designer and Developer        
<Storyboard x:Key="Storyboard1">
WPF: Designer and Developer            
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(UIElement.Opacity)">
WPF: Designer and Developer                
<SplineDoubleKeyFrame KeyTime="00:00:01" Value="0.5"/>
WPF: Designer and Developer                
<SplineDoubleKeyFrame KeyTime="00:00:02" Value="1"/>
WPF: Designer and Developer            
</DoubleAnimationUsingKeyFrames>
WPF: Designer and Developer        
</Storyboard>
WPF: Designer and Developer    
</UserControl.Resources>
WPF: Designer and Developer    
<Grid x:Name="gridMain">
WPF: Designer and Developer        
<StackPanel x:Name="stackPanel1">
WPF: Designer and Developer        
</StackPanel>
WPF: Designer and Developer    
</Grid>
WPF: Designer and Developer
</UserControl>
WPF: Designer and Developer

OutlookBar.xaml.cs
WPF: Designer and Developer    public partial class OutlookBar : UserControl

无需更多的语言了,又O了。

相关文章:

  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-08-01
  • 2021-12-17
  • 2021-11-24
  • 2021-07-06
  • 2021-11-26
  • 2021-12-18
  • 2021-04-04
相关资源
相似解决方案