StartAt Method

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.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

IDisposable 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.IDisposable
An IDisposable object that tracks the lifetime of the generation process.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft