Generator​Position Generator​Position Generator​Position Struct


GeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator.

public struct GeneratorPositionpublic struct GeneratorPositionPublic Structure GeneratorPosition
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Projection and members of GeneratorPosition

If you are using a Microsoft .NET language (C# or Microsoft Visual Basic), then GeneratorPosition has non-data members available, and its data members are exposed as read-write properties, not fields.

If you are programming with C++, then only the data member fields exist as members of GeneratorPosition, and you cannot use the utility methods or properties listed in the members table. C++ code can access similar utility methods that exist on the GeneratorPositionHelper class.


Index Index Index

The index that is relative to the generated (realized) items.

public field int Indexpublic field int IndexPublic Field Index

Offset Offset Offset

The offset that is relative to the ungenerated (unrealized) items near the indexed item.

public field int Offsetpublic field int OffsetPublic Field Offset