ItemsControl.GetAlternationIndex(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.