Inheritance: System.Windows.FrameworkElement
示例#1
0
文件: Graph.cs 项目: jrgcubano/zetbox
 private static DoubleAnimation GetNewHideAnimation(GraphContentPresenter element, Graph owner, int key)
 {
     DoubleAnimation da = new DoubleAnimation(0, HideDuration);
     da.FillBehavior = FillBehavior.Stop;
     //da.SetValue(Timeline.DesiredFrameRateProperty, HideDesiredFrameRate);
     HideAnimationManager ham = new HideAnimationManager(owner, key);
     da.Completed += new EventHandler(ham.CompletedHandler);
     da.Freeze();
     return da;
 }
示例#2
0
文件: Graph.cs 项目: jrgcubano/zetbox
 public HideAnimationManager(Graph owner, int key)
 {
     _owner = owner;
     _key = key;
 }