ThicknessKeyFrameCollection.Item[Int32] 屬性

定義

取得或設定在指定索引位置的 ThicknessKeyFrame

public:
 property System::Windows::Media::Animation::ThicknessKeyFrame ^ default[int] { System::Windows::Media::Animation::ThicknessKeyFrame ^ get(int index); void set(int index, System::Windows::Media::Animation::ThicknessKeyFrame ^ value); };
public System.Windows.Media.Animation.ThicknessKeyFrame this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.Animation.ThicknessKeyFrame with get, set
Default Public Property Item(index As Integer) As ThicknessKeyFrame

參數

index
Int32

要取得或設定的 ThicknessKeyFrame 的以零起始的索引。

屬性值

ThicknessKeyFrame

指定之索引處的 ThicknessKeyFrame

例外狀況

嘗試修改集合無效,因為已凍結此集合 (其 IsFrozen 屬性為 true)。

index 小於零。

-或- index 等於或大於 Count

適用於