Windows Dev Center

ItemContainerGenerator.IItemContainerGenerator.StartAt Method

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
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Private Function StartAt ( _
	position As GeneratorPosition, _
	direction As GeneratorDirection, _
	allowStartAtRealizedItem As Boolean _
) As IDisposable Implements IItemContainerGenerator.StartAt

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.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft