ItemContainerGenerator.IItemContainerGenerator.IndexFromGeneratorPosition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the index that maps to the specified 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
Parameters
- position
- GeneratorPosition
The index of desired item.
Returns
An Int32 that is the index which maps to the specified GeneratorPosition.
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.