ItemContainerGenerator.IItemContainerGenerator.GeneratorPositionFromIndex 方法

定义

返回映射到指定索引处的项的 GeneratorPosition 对象。

 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

参数

itemIndex
Int32

所需项的索引。

返回

GeneratorPosition

映射到指定索引处的项的 GeneratorPosition 对象。

实现

适用于