ColorKeyFrameCollection.Item[Int32] Свойство
Определение
Получает или задает объект ColorKeyFrame по указанному положению индекса.Gets or sets the ColorKeyFrame at the specified index position.
public:
property System::Windows::Media::Animation::ColorKeyFrame ^ default[int] { System::Windows::Media::Animation::ColorKeyFrame ^ get(int index); void set(int index, System::Windows::Media::Animation::ColorKeyFrame ^ value); };
public System.Windows.Media.Animation.ColorKeyFrame this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.Animation.ColorKeyFrame with get, set
Default Public Property Item(index As Integer) As ColorKeyFrame
Параметры
- index
- Int32
Индекс (с нуля) возвращаемого или задаваемого ColorKeyFrame.The zero-based index of the ColorKeyFrame to get or set.
Значение свойства
Параметр ColorKeyFrame по указанному индексу.The ColorKeyFrame at the specified index.
Исключения
Попытка изменения коллекции является недопустимой, так как эта коллекция является зафиксированной (ее свойство IsFrozen имеет значение true
).The attempt to modify the collection is invalid because the collection is frozen (its IsFrozen property is true
).
Значение параметра index
меньше нуля.index
is less than zero.
-или--or-
Значение параметра index
больше или равно значению свойства Count.index
is equal to or greater than Count.