SkipStoryboardToFill 類別

定義

Storyboard 前移到其填滿期間結尾的觸發動作。A trigger action that advances a Storyboard to the end of its fill period.

public ref class SkipStoryboardToFill sealed : System::Windows::Media::Animation::ControllableStoryboardAction
public sealed class SkipStoryboardToFill : System.Windows.Media.Animation.ControllableStoryboardAction
type SkipStoryboardToFill = class
    inherit ControllableStoryboardAction
Public NotInheritable Class SkipStoryboardToFill
Inherits ControllableStoryboardAction
繼承

備註

SkipStoryboardToFill使用具有EventTrigger 或的Trigger動作, 將移至其填滿期間(如果Storyboard有的話)。Use a SkipStoryboardToFill action with an EventTrigger or a Trigger to advance a Storyboard to its fill period, if it has one. 此動作也會將目標Timeline Storyboard的所有子物件移至其填滿期間 (如果有的話)。This action also advances all child Timeline objects of the target Storyboard to their fill periods, if they have them.

SkipStoryboardToFill只會影響作用Storyboard中的Storyboard (啟動後)。SkipStoryboardToFill only affects an active Storyboard (after the Storyboard starts).

暫停、繼續、停止或以互動方式控制分鏡腳本Pause, Resume, Stop, or Otherwise Control a Storyboard Interactively

若要Storyboard能夠以互動方式暫停、繼續或控制, 請設定其BeginStoryboardName屬性, 並使用ControllableStoryboardAction物件 (例如PauseStoryboardResumeStoryboardStopStoryboard) 來控制它參考它Name的。To be able to pause, resume, or otherwise control a Storyboard interactively, set the Name property of its BeginStoryboard and use a ControllableStoryboardAction object (such as PauseStoryboard, ResumeStoryboard, or StopStoryboard) to control it by referencing its Name. 如果未指定BeginStoryboard Storyboard的, 則在開始之後無法以互動方式控制。 NameIf the Name of BeginStoryboard is unspecified, the Storyboard cannot be interactively controlled after it is begun. 請參閱How to:在分鏡腳本開始後加以控制, 以取得詳細資訊。See How to: Control a Storyboard After It Starts for more information.

建構函式

SkipStoryboardToFill()

初始化 SkipStoryboardToFill 類別的新執行個體。Initializes a new instance of the SkipStoryboardToFill class.

屬性

BeginStoryboardName

取得或設定 BeginStoryboardName,開始您想要以互動方式控制的 StoryboardGets or sets the Name of the BeginStoryboard that began the Storyboard you want to interactively control.

(繼承來源 ControllableStoryboardAction)
DependencyObjectType

取得包裝此執行個體之 DependencyObjectType 型別的 CLRCLRGets the DependencyObjectType that wraps the CLRCLR type of this instance.

(繼承來源 DependencyObject)
Dispatcher

取得與這個 Dispatcher 關聯的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(繼承來源 DispatcherObject)
IsSealed

取得值,這個值表示此執行個體目前是否已密封 (唯讀)。Gets a value that indicates whether this instance is currently sealed (read-only).

(繼承來源 DependencyObject)

方法

CheckAccess()

判斷呼叫的執行是否可以存取這個 DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(繼承來源 DispatcherObject)
ClearValue(DependencyProperty)

清除屬性的區域數值。Clears the local value of a property. 要清除的屬性是由 DependencyProperty 識別項所指定。The property to be cleared is specified by a DependencyProperty identifier.

(繼承來源 DependencyObject)
ClearValue(DependencyPropertyKey)

清除唯讀屬性的區域數值。Clears the local value of a read-only property. 要清除的屬性是由 DependencyPropertyKey 所指定。The property to be cleared is specified by a DependencyPropertyKey.

(繼承來源 DependencyObject)
CoerceValue(DependencyProperty)

強制轉型所指定相依性屬性的值。Coerces the value of the specified dependency property. 完成方式是叫用存在於呼叫 CoerceValueCallback 之相依性屬性的屬性中繼資料中所指定的任何 DependencyObject 函式。This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(繼承來源 DependencyObject)
Equals(Object)

判斷提供的 DependencyObject 和目前的 DependencyObject 是否相等。Determines whether a provided DependencyObject is equivalent to the current DependencyObject.

(繼承來源 DependencyObject)
GetHashCode()

取得這個 DependencyObject 的雜湊碼。Gets a hash code for this DependencyObject.

(繼承來源 DependencyObject)
GetLocalValueEnumerator()

建立特定的列舉值,以判斷哪些相依性屬性在此 DependencyObject 上具有本機設定的值。Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(繼承來源 DependencyObject)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
GetValue(DependencyProperty)

傳回 DependencyObject 的這個執行個體上之相依性屬性的目前有效值。Returns the current effective value of a dependency property on this instance of a DependencyObject.

(繼承來源 DependencyObject)
InvalidateProperty(DependencyProperty)

重新評估指定相依性屬性的有效值。Re-evaluates the effective value for the specified dependency property.

(繼承來源 DependencyObject)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnPropertyChanged(DependencyPropertyChangedEventArgs)

每當這個 DependencyObject 上任何相依性屬性的有效值已更新時叫用。Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. 已變更的特定相依性屬性會在事件資料中報告。The specific dependency property that changed is reported in the event data.

(繼承來源 DependencyObject)
ReadLocalValue(DependencyProperty)

傳回相依性屬性的區域值 (如果存在)。Returns the local value of a dependency property, if it exists.

(繼承來源 DependencyObject)
SetCurrentValue(DependencyProperty, Object)

設定相依性屬性的值,而不需要變更其值來源。Sets the value of a dependency property without changing its value source.

(繼承來源 DependencyObject)
SetValue(DependencyProperty, Object)

設定相依性屬性的區域值 (由相依性屬性的識別碼所指定)。Sets the local value of a dependency property, specified by its dependency property identifier.

(繼承來源 DependencyObject)
SetValue(DependencyPropertyKey, Object)

設定唯讀相依性屬性的區域數值 (由相依性屬性的 DependencyPropertyKey 識別項所指定)。Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

(繼承來源 DependencyObject)
ShouldSerializeProperty(DependencyProperty)

傳回值,這個值表示序列化程序是否應該序列化所提供相依性屬性的值。Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(繼承來源 DependencyObject)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
VerifyAccess()

請強制執行可以存取這個 DispatcherObject 的呼叫執行緒。Enforces that the calling thread has access to this DispatcherObject.

(繼承來源 DispatcherObject)

適用於

另請參閱