共用方式為


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 物件。

實作

適用於