VectorKeyFrameCollection 類別

定義

表示 VectorKeyFrame 物件的集合。Represents a collection of VectorKeyFrame objects.

public ref class VectorKeyFrameCollection : System::Windows::Freezable, System::Collections::IList
public class VectorKeyFrameCollection : System.Windows.Freezable, System.Collections.IList
type VectorKeyFrameCollection = class
    inherit Freezable
    interface IList
    interface ICollection
    interface IEnumerable
Public Class VectorKeyFrameCollection
Inherits Freezable
Implements IList
繼承
實作

備註

這個集合是用VectorAnimationUsingKeyFrames來做為的一部分, 以便沿著一組主要畫面格建立Vector屬性值的動畫。This collection is used as part of a VectorAnimationUsingKeyFrames to animate a Vector property value along a set of key frames.

XAML 隱含集合用法XAML Implicit Collection Usage

<object>  
  <object.property>  
    oneOrMoreVectorKeyFrameObjectElements  
  </object.property>  
</object>  

XAML 值XAML Values

oneOrMoreVectorKeyFrameObjectElementsoneOrMoreVectorKeyFrameObjectElements
使用物件元素VectorKeyFrame語法宣告的一或多個物件。One or more VectorKeyFrame objects, declared using object element syntax.

建構函式

VectorKeyFrameCollection()

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

屬性

CanFreeze

取得值,指出是否可以將物件設為不可修改。Gets a value that indicates whether the object can be made unmodifiable.

(繼承來源 Freezable)
Count

取得 VectorKeyFrameCollection 中所包含的主要畫面格數目。Gets the number of key frames contained in the VectorKeyFrameCollection.

DependencyObjectType

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

(繼承來源 DependencyObject)
Dispatcher

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

(繼承來源 DispatcherObject)
Empty

取得空的 VectorKeyFrameCollectionGets an empty VectorKeyFrameCollection.

IsFixedSize

取得值,指出集合大小是否可以變更。Gets a value that indicates if the collection size can ever change.

IsFrozen

取得值,該值表示物件目前是否可修改。Gets a value that indicates whether the object is currently modifiable.

(繼承來源 Freezable)
IsReadOnly

取得值,指出集合是否為唯讀。Gets a value that indicates if the collection is read-only.

IsSealed

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

(繼承來源 DependencyObject)
IsSynchronized

取得值,指示對集合的存取是否為同步的 (安全執行緒)。Gets a value that indicates whether access to the collection is synchronized (thread-safe).

Item[Int32]

取得或設定位在指定索引位置的 VectorKeyFrameGets or sets the VectorKeyFrame at the specified index position.

SyncRoot

取得物件,這個物件可以用來對集合進行同步存取。Gets an object that can be used to synchronize access to the collection.

方法

Add(VectorKeyFrame)

VectorKeyFrame 加入集合結尾。Adds a VectorKeyFrame to the end of the collection.

CheckAccess()

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

(繼承來源 DispatcherObject)
Clear()

從集合中移除所有 VectorKeyFrame 物件。Removes all VectorKeyFrame objects from the collection.

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)
Clone()

建立這個 VectorKeyFrameCollection的可修改複製品,深層複製這個物件的值。Creates a modifiable clone of this VectorKeyFrameCollection, making deep copies of this object's values. 當複製相依性屬性時,這個方法會複製資源參考和資料繫結 (但可能無法再解析),但不會複製動畫或它們目前的值。When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

CloneCore(Freezable)

使這個執行個體成為指定之 VectorKeyFrameCollection 的深層複本。Makes this instance a deep copy of the specified VectorKeyFrameCollection. 當複製相依性屬性時,這個方法會複製資源參考和資料繫結 (但可能無法再解析),但不會複製動畫或它們目前的值。When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

CloneCurrentValue()

使用 Freezable 的目前值,建立它的可修改複製品 (深層複本)。Creates a modifiable clone (deep copy) of the Freezable using its current values.

(繼承來源 Freezable)
CloneCurrentValueCore(Freezable)

使用目前的屬性值,讓這個執行個體成為指定之 VectorKeyFrameCollection 的可修改深層複本。Makes this instance a modifiable deep copy of the specified VectorKeyFrameCollection using current property values. 不會複製資源參考、資料繫結和動畫,但是會複製其目前值。Resource references, data bindings, and animations are not copied, but their current values are.

CoerceValue(DependencyProperty)

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

(繼承來源 DependencyObject)
Contains(VectorKeyFrame)

取得值,指出集合是否包含指定的 VectorKeyFrameGets a value that indicates whether the collection contains the specified VectorKeyFrame.

CopyTo(VectorKeyFrame[], Int32)

將集合中的所有 VectorKeyFrame 物件複製到指定的陣列。Copies all of the VectorKeyFrame objects in a collection to a specified array.

CreateInstance()

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

(繼承來源 Freezable)
CreateInstanceCore()

建立新的凍結 VectorKeyFrameCollection執行個體。Creates a new, frozen instance of VectorKeyFrameCollection.

Equals(Object)

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

(繼承來源 DependencyObject)
Freeze()

將目前的物件設為不可修改,並將其 IsFrozen 屬性設定為 trueMakes the current object unmodifiable and sets its IsFrozen property to true.

(繼承來源 Freezable)
FreezeCore(Boolean)

將這個 VectorKeyFrameCollection 執行個體設為唯讀,或判斷是否可以設為唯讀。Makes this instance of VectorKeyFrameCollection read-only or determines whether it can be made read-only.

GetAsFrozen()

使用基底 (非動畫) 屬性值,建立 Freezable 的凍結複本。Creates a frozen copy of the Freezable, using base (non-animated) property values. 因為複本已凍結,所以會以傳址方式複製任何凍結子物件。Because the copy is frozen, any frozen sub-objects are copied by reference.

(繼承來源 Freezable)
GetAsFrozenCore(Freezable)

使這個執行個體成為指定之 VectorKeyFrameCollection 物件的複製。Makes this instance a clone of the specified VectorKeyFrameCollection object.

GetCurrentValueAsFrozen()

使用目前屬性值,建立 Freezable 的凍結複本。Creates a frozen copy of the Freezable using current property values. 因為複本已凍結,所以會以傳址方式複製任何凍結子物件。Because the copy is frozen, any frozen sub-objects are copied by reference.

(繼承來源 Freezable)
GetCurrentValueAsFrozenCore(Freezable)

使這個執行個體成為所指定 VectorKeyFrameCollection 的凍結複製品。Makes this instance a frozen clone of the specified VectorKeyFrameCollection. 不會複製資源參考、資料繫結和動畫,但是會複製其目前值。Resource references, data bindings, and animations are not copied, but their current values are.

GetEnumerator()

傳回可在集合中逐一查看列舉值。Returns an enumerator that can iterate through the collection.

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)
IndexOf(VectorKeyFrame)

搜尋指定的 VectorKeyFrame,並傳回整個集合內第一個符合項目之以零為起始的索引。Searches for the specified VectorKeyFrame and returns the zero-based index of the first occurrence within the entire collection.

Insert(Int32, VectorKeyFrame)

VectorKeyFrame 插入集合內的特定位置。Inserts a VectorKeyFrame into a specific location within the collection.

InvalidateProperty(DependencyProperty)

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

(繼承來源 DependencyObject)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnChanged()

目前的 Freezable 物件遭到修改時進行呼叫。Called when the current Freezable object is modified.

(繼承來源 Freezable)
OnFreezablePropertyChanged(DependencyObject, DependencyObject)

確定已為剛剛設定的 DependencyObjectType 資料成員,建立適當的內容指標。Ensures that appropriate context pointers are established for a DependencyObjectType data member that has just been set.

(繼承來源 Freezable)
OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty)

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

(繼承來源 Freezable)
OnPropertyChanged(DependencyPropertyChangedEventArgs)

覆寫 OnPropertyChanged(DependencyPropertyChangedEventArgs)DependencyObject 實作也可以叫用任何 Changed 處理常式,以回應類型 Freezable 的變更相依性屬性。Overrides the DependencyObject implementation of OnPropertyChanged(DependencyPropertyChangedEventArgs) to also invoke any Changed handlers in response to a changing dependency property of type Freezable.

(繼承來源 Freezable)
ReadLocalValue(DependencyProperty)

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

(繼承來源 DependencyObject)
ReadPreamble()

確定 Freezable 是從有效的執行緒進行存取。Ensures that the Freezable is being accessed from a valid thread. 如果 API 會讀取非相依性屬性的資料成員,則 Freezable 的繼承者必須在該 API 的開頭呼叫這個方法。Inheritors of Freezable must call this method at the beginning of any API that reads data members that are not dependency properties.

(繼承來源 Freezable)
Remove(VectorKeyFrame)

從集合中移除 VectorKeyFrame 物件。Removes a VectorKeyFrame object from the collection.

RemoveAt(Int32)

從集合移除指定之索引位置上的 VectorKeyFrameRemoves the VectorKeyFrame at the specified index position from the collection.

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)
WritePostscript()

引發 FreezableChanged 事件,並叫用其 OnChanged() 方法。Raises the Changed event for the Freezable and invokes its OnChanged() method. 在任何 API 修改未以相依性屬性儲存的類別成員之後,衍生自 Freezable 的類別應該在 API 的結尾呼叫這個方法。Classes that derive from Freezable should call this method at the end of any API that modifies class members that are not stored as dependency properties.

(繼承來源 Freezable)
WritePreamble()

確認 Freezable 未凍結,而且是從有效的執行緒內容進行存取。Verifies that the Freezable is not frozen and that it is being accessed from a valid threading context. 在任何 API 將資料寫入至非相依性屬性的資料成員之前,Freezable 繼承者應該在 API 的開頭呼叫這個方法。Freezable inheritors should call this method at the beginning of any API that writes to data members that are not dependency properties.

(繼承來源 Freezable)

事件

Changed

發生於 Freezable 或所含的物件遭到修改時。Occurs when the Freezable or an object it contains is modified.

(繼承來源 Freezable)

明確介面實作

ICollection.CopyTo(Array, Int32)

從特定的 ICollection 索引開始,將 Array 的項目複製到 ArrayCopies the elements of the ICollection to an Array, starting at a particular Array index.

IList.Add(Object)

將項目加入至 IListAdds an item to the IList.

IList.Contains(Object)

判斷 IList 是否包含特定值。Determines whether the IList contains a specific value.

IList.IndexOf(Object)

判斷 IList 中指定項目的索引。Determines the index of a specific item in the IList.

IList.Insert(Int32, Object)

將項目插入位於指定索引的 IListInserts an item to the IList at the specified index.

IList.Item[Int32]

在指定的索引位置上取得或設定項目。Gets or sets the element at the specified index.

IList.Remove(Object)

IList 移除特定物件之第一個符合的元素。Removes the first occurrence of a specific object from the IList.

擴充方法

Cast<TResult>(IEnumerable)

IEnumerable 的項目轉換成指定的型別。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

根據指定的型別來篩選 IEnumerable 的項目。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

啟用查詢的平行化作業。Enables parallelization of a query.

AsQueryable(IEnumerable)

IEnumerable 轉換成 IQueryableConverts an IEnumerable to an IQueryable.

適用於

另請參閱