Track.GetVisualChild(Int32) メソッド

定義

指定したインデックス位置にある Track の子を取得します。

protected:
 override System::Windows::Media::Visual ^ GetVisualChild(int index);
protected override System.Windows.Media.Visual GetVisualChild(int index);
override this.GetVisualChild : int -> System.Windows.Media.Visual
Protected Overrides Function GetVisualChild (index As Integer) As Visual

パラメーター

index
Int32

子のインデックス。

返品

ビジュアル子要素の一覧の指定したインデックス位置にある Track のオブジェクトを返します。 インデックスは、0 から VisualChildrenCount プロパティの値から 1 を引いた値の間の数値である必要があります。

例外

指定したインデックスが、 VisualChildrenCount プロパティの値から 1 を引いた値より大きい。

注釈

TrackThumb、およびDecreaseRepeatButtonプロパティを設定して、IncreaseRepeatButtonの子要素を指定します。 子要素は、プロパティが設定されている順序でインデックスが作成されます。

適用対象