ItemContainerGenerator.IItemContainerGenerator.IndexFromGeneratorPosition Méthode

Définition

Retourne l'index correspondant au GeneratorPosition spécifié.

 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

Paramètres

position
GeneratorPosition

Index de l'élément souhaité.

Retours

Int32

Int32, index correspondant au GeneratorPosition spécifié.

Implémente

S’applique à