Bearbeiten

Freigeben über


IItemContainerGenerator.IndexFromGeneratorPosition(GeneratorPosition) Method

Definition

Returns the index that maps to the specified GeneratorPosition.

public:
 int IndexFromGeneratorPosition(System::Windows::Controls::Primitives::GeneratorPosition position);
public int IndexFromGeneratorPosition (System.Windows.Controls.Primitives.GeneratorPosition position);
abstract member IndexFromGeneratorPosition : System.Windows.Controls.Primitives.GeneratorPosition -> int
Public Function IndexFromGeneratorPosition (position As GeneratorPosition) As Integer

Parameters

position
GeneratorPosition

The index of desired item.

The GeneratorPosition for the desired index.

Returns

An Int32 that is the index which maps to the specified GeneratorPosition.

Applies to