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

Definicja

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

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

Parametry

index
Int32

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

Wartość właściwości

RectKeyFrame

Element RectKeyFrame 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