Redigera

Dela via


ItemContainerGenerator.IItemContainerGenerator.GeneratorPositionFromIndex Method

Definition

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