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

Definicja

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

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

Parametry

index
Int32

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

Wartość właściwości

DoubleKeyFrame

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