Udostępnij za pośrednictwem


ColorKeyFrameCollection.Item[Int32] Właściwość

Definicja

Pobiera lub ustawia wartość ColorKeyFrame w określonej pozycji indeksu.

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

Parametry

index
Int32

Indeks zerowy ColorKeyFrame klasy , który ma być pobierany lub ustawiany.

Wartość właściwości

ColorKeyFrame

Element ColorKeyFrame w określonym indeksie.

Wyjątki

Próba zmodyfikowania kolekcji jest nieprawidłowa, ponieważ kolekcja jest zamrożona (jej IsFrozen właściwość to true).

Parametr index ma wartość niższą niż zero.

-lub- index jest równe lub większe niż Count.

Dotyczy