ItemContainerGenerator.IItemContainerGenerator.StartAt Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection, and controlling whether or not to start at a generated (realized) item.
Assembly: System.Windows (in System.Windows.dll)
IDisposable IItemContainerGenerator.StartAt(
GeneratorPosition position,
GeneratorDirection direction,
bool allowStartAtRealizedItem
)
Parameters
- position
- Type: System.Windows.Controls.Primitives.GeneratorPosition
A GeneratorPosition, that specifies the position of the item to start generating items at.
- direction
- Type: System.Windows.Controls.Primitives.GeneratorDirection
Specifies the position of the item to start generating items at.
- allowStartAtRealizedItem
- Type: System.Boolean
A Boolean that specifies whether to start at a generated (realized) item.
Return Value
Type: System.IDisposableAn IDisposable object that tracks the lifetime of the generation process.
Implements
IItemContainerGenerator.StartAt(GeneratorPosition, GeneratorDirection, Boolean)This member is an explicit interface member implementation. It can be used only when the ItemContainerGenerator instance is cast to an IItemContainerGenerator interface.