ItemsControl.GetAlternationIndex(DependencyObject) ItemsControl.GetAlternationIndex(DependencyObject) ItemsControl.GetAlternationIndex(DependencyObject) ItemsControl.GetAlternationIndex(DependencyObject) Method

定義

指定されたオブジェクトの AlternationIndex を取得します。Gets the AlternationIndex for the specified object.

public:
 static int GetAlternationIndex(System::Windows::DependencyObject ^ element);
public static int GetAlternationIndex (System.Windows.DependencyObject element);
static member GetAlternationIndex : System.Windows.DependencyObject -> int
Public Shared Function GetAlternationIndex (element As DependencyObject) As Integer

パラメーター

element
DependencyObject DependencyObject DependencyObject DependencyObject

AlternationIndex の取得元のオブジェクト。The object from which to get the AlternationIndex.

戻り値

AlternationIndex の値です。The value of the AlternationIndex.

適用対象