Controller. Skip ToFill 方法
public: void SkipToFill();
public void SkipToFill ();
member this.SkipToFill : unit -> unit
Public Sub SkipToFill ()
此方法将目标时钟的当前时间提升到其活动周期的结束时间;此时时钟的行为由FillBehavior其Timeline的设置指定。This method advances the target clock's current time to the end of its active period; the clock's behavior at this point is specified by the FillBehavior setting of its Timeline. 如果时间线的FillBehavior属性设置为HoldEnd, 则时钟将填充; 如果属性设置为Stop, 则时钟将停止。If the timeline's FillBehavior property is set to HoldEnd, the clock fills; if the property is set to Stop, the clock stops.
直到下一次处理计时周期时, 此方法才会对计时树产生任何影响。This method has no effect on the timing tree until the next time a tick is processed. 副作用是, 在此之前, 也不会引发相应的事件。As a side-effect, the appropriate events also will not be raised until then.