Bewerken

Share via


ItemsControl.GetAlternationIndex(DependencyObject) Method

Definition

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

Parameters

element
DependencyObject

The object from which to get the AlternationIndex.

Returns

The value of the AlternationIndex.

Applies to