ItemContainerGenerator.IItemContainerGenerator.GeneratorPositionFromIndex 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.
Returns the GeneratorPosition object that maps to the item at the specified index.
virtual System::Windows::Controls::Primitives::GeneratorPosition System.Windows.Controls.Primitives.IItemContainerGenerator.GeneratorPositionFromIndex(int itemIndex) = System::Windows::Controls::Primitives::IItemContainerGenerator::GeneratorPositionFromIndex;
System.Windows.Controls.Primitives.GeneratorPosition IItemContainerGenerator.GeneratorPositionFromIndex (int itemIndex);
abstract member System.Windows.Controls.Primitives.IItemContainerGenerator.GeneratorPositionFromIndex : int -> System.Windows.Controls.Primitives.GeneratorPosition
override this.System.Windows.Controls.Primitives.IItemContainerGenerator.GeneratorPositionFromIndex : int -> System.Windows.Controls.Primitives.GeneratorPosition
Function GeneratorPositionFromIndex (itemIndex As Integer) As GeneratorPosition Implements IItemContainerGenerator.GeneratorPositionFromIndex
Parameters
- itemIndex
- Int32
The index of desired item.
Returns
A GeneratorPosition object that maps to the item at the specified index.
Implements
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.