• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# FillBehavior类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中FillBehavior的典型用法代码示例。如果您正苦于以下问题:C# FillBehavior类的具体用法?C# FillBehavior怎么用?C# FillBehavior使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



FillBehavior类属于命名空间,在下文中一共展示了FillBehavior类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: MatrixAnimation

 public MatrixAnimation(Matrix fromValue, Matrix toValue, Duration duration, FillBehavior fillBehavior)
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:deurell,项目名称:Curla,代码行数:7,代码来源:MatrixAnimation.cs


示例2: DoubleAnimation

 public DoubleAnimation(double from, double to, Duration duration, FillBehavior fillBehavior)
 {
   this.From = from;
   this.To = to;
   this.Duration = duration;
   this.FillBehavior = fillBehavior;
 }
开发者ID:npcomplete111,项目名称:MediaPortal-1,代码行数:7,代码来源:DoubleAnimation.cs


示例3: LinearGradientAnimation

 public LinearGradientAnimation(LinearGradientBrush toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     this.To = toValue;
     base.Duration = duration;
     base.FillBehavior = fillBehavior;
 }
开发者ID:jez9999,项目名称:Git-GUI,代码行数:7,代码来源:LinearGradientAnimation.cs


示例4: GridLengthAnimation

 public GridLengthAnimation(GridLength fromValue, GridLength toValue, Duration duration, FillBehavior fillBehavior)
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:jira-sarec,项目名称:ICSE-2012-TraceLab,代码行数:7,代码来源:GridLengthAnimation.cs


示例5: RangeAnimation

 public RangeAnimation(Range from, Range to, Duration duration, FillBehavior fillBehavior = FillBehavior.Stop, IEasingFunction easingFunction = null)
 {
     From = from;
     To = to;
     Duration = duration;
     FillBehavior = fillBehavior;
     EasingFunction = easingFunction;
 }
开发者ID:AuditoryBiophysicsLab,项目名称:ESME-Workbench,代码行数:8,代码来源:RangeAnimation.cs


示例6: Begin

 public void Begin(IRootClock rootClock)
 {
     this.rootClock = rootClock;
     VerifyRootClock();
     beginTime = rootClock.Time;
     currentFillBehavior = Timeline.FillBehavior;
     rootClock.AddClock(this);
     Tick(rootClock.Time);
 }
开发者ID:highzion,项目名称:Granular,代码行数:9,代码来源:TimelineClock.cs


示例7: CreateDoubleAnimation

 public static Storyboard CreateDoubleAnimation(double? from, double? to, double duration, string propertyName, FrameworkElement target, FillBehavior? fillBehavior = null, EventHandler<object> onCompleted = null)
 {
     var animation = new DoubleAnimation 
     { 
         From = from, 
         To = to, 
         Duration = new Duration(TimeSpan.FromMilliseconds(duration)), 
         EnableDependentAnimation = true ,
         //FillBehavior = fillBehavior
         //EasingFunction = new ExponentialEase() { EasingMode = EasingMode.EaseOut }
     };
     
     if (fillBehavior.HasValue)
         animation.FillBehavior = fillBehavior.Value;
     var sb = new Storyboard();
     Storyboard.SetTarget(animation, target);
     Storyboard.SetTargetProperty(animation, propertyName);
     sb.Children.Add(animation);
     if(onCompleted != null)
         sb.Completed += onCompleted;
     return sb;
 }
开发者ID:aliaspilote,项目名称:TX52,代码行数:22,代码来源:AnimationHelper.cs


示例8: CornerRadiusAnimation

 /// <summary>
 /// Creates a new CornerRadiusAnimation that will animate a
 /// CornerRadius property from the "fromValue" parameter of this constructor
 /// to the "toValue" parameter.
 /// </summary>
 public CornerRadiusAnimation(CornerRadius fromValue, CornerRadius toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:grandtiger,项目名称:wpf-shell,代码行数:13,代码来源:CornerRadiusAnimation.cs


示例9: ByteAnimation

 /// <summary>
 /// Creates a new ByteAnimation that will animate a
 /// Byte property from the "fromValue" parameter of this constructor
 /// to the "toValue" parameter.
 /// </summary>
 public ByteAnimation(Byte fromValue, Byte toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:13,代码来源:ByteAnimation.cs


示例10: RectAnimation

 /// <summary>
 /// Creates a new RectAnimation that will animate a
 /// Rect property from the "fromValue" parameter of this constructor
 /// to the "toValue" parameter.
 /// </summary>
 public RectAnimation(Rect fromValue, Rect toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:nlh774,项目名称:DotNetReferenceSource,代码行数:13,代码来源:RectAnimation.cs


示例11: ThicknessAnimation

 /// <summary>
 /// Creates a new ThicknessAnimation that will animate a
 /// Thickness property from the "fromValue" parameter of this constructor
 /// to the "toValue" parameter.
 /// </summary>
 public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:krytht,项目名称:DotNetReferenceSource,代码行数:13,代码来源:ThicknessAnimation.cs


示例12: Int64Animation

 public Int64Animation(long fromValue, long toValue, System.Windows.Duration duration, FillBehavior fillBehavior)
 {
 }
开发者ID:asvishnyakov,项目名称:CodeContracts,代码行数:3,代码来源:System.Windows.Media.Animation.Int64Animation.cs


示例13: DecimalAnimation

 /// <summary>
 /// Creates a new DecimalAnimation that will animate a
 /// Decimal property from the "fromValue" parameter of this constructor
 /// to the "toValue" parameter.
 /// </summary>
 public DecimalAnimation(Decimal fromValue, Decimal toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:13,代码来源:DecimalAnimation.cs


示例14: Int16Animation

 /// <summary> 
 /// Creates a new Int16Animation that will animate a
 /// Int16 property from the "fromValue" parameter of this constructor 
 /// to the "toValue" parameter. 
 /// </summary>
 public Int16Animation(Int16 fromValue, Int16 toValue, Duration duration, FillBehavior fillBehavior) 
     : this()
 {
     From = fromValue;
     To = toValue; 
     Duration = duration;
     FillBehavior = fillBehavior; 
 } 
开发者ID:sjyanxin,项目名称:WPFSource,代码行数:13,代码来源:Int16Animation.cs


示例15: Rotation3DAnimation

 /// <summary> 
 /// Creates a new Rotation3DAnimation that will animate a
 /// Rotation3D property from the "fromValue" parameter of this constructor 
 /// to the "toValue" parameter. 
 /// </summary>
 public Rotation3DAnimation(Rotation3D fromValue, Rotation3D toValue, Duration duration, FillBehavior fillBehavior) 
     : this()
 {
     From = fromValue;
     To = toValue; 
     Duration = duration;
     FillBehavior = fillBehavior; 
 } 
开发者ID:sjyanxin,项目名称:WPFSource,代码行数:13,代码来源:Rotation3DAnimation.cs


示例16: SingleAnimation

 /// <summary>
 /// Creates a new SingleAnimation that will animate a
 /// Single property from its base value to the value specified
 /// by the "toValue" parameter of this constructor.
 /// </summary>
 public SingleAnimation(Single toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:12,代码来源:SingleAnimation.cs


示例17: ColorAnimation

 /// <summary>
 /// Creates a new ColorAnimation that will animate a
 /// Color property from the "fromValue" parameter of this constructor
 /// to the "toValue" parameter.
 /// </summary>
 public ColorAnimation(Color fromValue, Color toValue, Duration duration, FillBehavior fillBehavior)
     : this()
 {
     From = fromValue;
     To = toValue;
     Duration = duration;
     FillBehavior = fillBehavior;
 }
开发者ID:krytht,项目名称:DotNetReferenceSource,代码行数:13,代码来源:ColorAnimation.cs


示例18: DoubleAnimation

	public DoubleAnimation (double fromValue, double tovalue, Duration duration, FillBehavior fillBehavior)
	{
	}
开发者ID:alesliehughes,项目名称:olive,代码行数:3,代码来源:DoubleAnimation.cs


示例19: Int32Animation

	public Int32Animation (int fromValue, int tovalue, Duration duration, FillBehavior fillBehavior)
	{
	}
开发者ID:alesliehughes,项目名称:olive,代码行数:3,代码来源:Int32Animation.cs


示例20: Int16Animation

 public Int16Animation(short fromValue, short toValue, System.Windows.Duration duration, FillBehavior fillBehavior)
 {
 }
开发者ID:asvishnyakov,项目名称:CodeContracts,代码行数:3,代码来源:System.Windows.Media.Animation.Int16Animation.cs



注:本文中的FillBehavior类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# FillMode类代码示例发布时间:2022-05-24
下一篇:
C# Files类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap