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

适用于