-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition |
winrt struct |
GeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator.
The index that is relative to the generated (realized) items.
The offset that is relative to the ungenerated (unrealized) items near the indexed item.
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.