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
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.