Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.15 KB

File metadata and controls

34 lines (21 loc) · 1.15 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Controls.Primitives.GeneratorPosition
winrt struct

GeneratorPosition

-description

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

-struct-fields

-field Index

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

-field Offset

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

-remarks

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.

-examples

-see-also