GeneratorPosition GeneratorPosition GeneratorPosition GeneratorPosition Struct


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

public : struct GeneratorPosition
struct winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition
public struct GeneratorPosition
Public 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 Index

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

Offset Offset Offset Offset

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