Sdílet prostřednictvím


ItemContainerGenerator.IItemContainerGenerator.IndexFromGeneratorPosition Metoda

Definice

Vrátí index, který mapuje na zadaný GeneratorPosition.

 virtual int System.Windows.Controls.Primitives.IItemContainerGenerator.IndexFromGeneratorPosition(System::Windows::Controls::Primitives::GeneratorPosition position) = System::Windows::Controls::Primitives::IItemContainerGenerator::IndexFromGeneratorPosition;
int IItemContainerGenerator.IndexFromGeneratorPosition (System.Windows.Controls.Primitives.GeneratorPosition position);
abstract member System.Windows.Controls.Primitives.IItemContainerGenerator.IndexFromGeneratorPosition : System.Windows.Controls.Primitives.GeneratorPosition -> int
override this.System.Windows.Controls.Primitives.IItemContainerGenerator.IndexFromGeneratorPosition : System.Windows.Controls.Primitives.GeneratorPosition -> int
Function IndexFromGeneratorPosition (position As GeneratorPosition) As Integer Implements IItemContainerGenerator.IndexFromGeneratorPosition

Parametry

position
GeneratorPosition

Index požadované položky.

Návraty

Int32 je index, který mapuje na zadaný GeneratorPosition.

Implementuje

Platí pro