📄 animationreference.aspx
字号:
<div class="animationReferenceItemCode">onStart();</div>
Initialization before playing the animation.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">onStep(percentage);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">pause();</div>
Pause the currently playing sequence of child animations. Calling <span class="codeReference">play</span>
will resume where you left off.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">play();</div>
Play the sequence of child animations one after another.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">remove(animation);</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">removeAt(index);</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">setOwner(owner);</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">setValue(value);</div>
Implementation of an abstract function from <span class="codeReference">Sys.UI.Animation</span> that throws
an exception (because it should never be called).
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">stop();</div>
Stop the currently playing sequence of child animations.
</td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>
<a name="SelectionAnimation" /><div class="subheading">Selection Animation</div>
<p>
The <span class="codeReference">SelectionAnimation</span> will run a single animation chosen from of its child animations.
This is a base class with no functional implementation, so consider using <span class="codeReference"><a href="#ConditionAnimation">ConditionAnimation</a></span> or
<span class="codeReference"><a href="#CaseAnimation">CaseAnimation</a></span>.<br />
<b>Note:</b> The <span class="codeReference">SelectionAnimation</span> cannot have any child animations that derive
from <span class="codeReference"><a href="#SequenceAnimation">SequenceAnimation</a></span>.
</p>
<table class="animationReferenceTable">
<tr class="animationReferenceRow">
<td class="animationReferenceField">Tag:</td>
<td class="animationReferenceCode">Selection</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Class:</td>
<td class="animationReferenceCode">AjaxControlToolkit.Animation.SelectionAnimation</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Base:</td>
<td class="animationReferenceCode"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Constructor:</td>
<td class="animationReferenceCode">new AjaxControlToolkit.Animation.SelectionAnimation(target, duration, fps, animations);</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Play:</td>
<td class="animationReferenceCode">AjaxControlToolkit.Animation.SelectionAnimation.play(target, duration, fps, animations);</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Properties:</td>
<td class="animationReferenceItems">
<table class="animationReferenceItemTable">
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Array animations; // Read Only</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number duration;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number fps;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isActive; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isInitialized; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isPlaying; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Boolean isUpdating; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Number percentComplete; // Read Only</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">Object target;</div>
Inherited from <span class="codeReference"><a href="#Animation">AjaxControlToolkit.Animation.Animation</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="animationReferenceRow">
<td class="animationReferenceField">Methods:</td>
<td class="animationReferenceItems">
<table class="animationReferenceItemTable">
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">add(animation);</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">clear();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">dispose();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">getAnimatedValue(percentage);</div>
Empty implementation of an abstract function from <span class="codeReference">Sys.UI.Animation</span>.
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">getDescriptor();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
</td>
</tr>
<tr class="animationReferenceItemRow">
<td class="animationReferenceItem">
<div class="animationReferenceItemCode">initialize();</div>
Inherited from <span class="codeReference"><a href="#ParentAnimation">AjaxControlToolkit.Animation.ParentAnimation</a></span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -