IItemContainerGenerator.StartAt Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Function StartAt ( _
    position As GeneratorPosition, _
    direction As GeneratorDirection, _
    allowStartAtRealizedItem As Boolean _
) As IDisposable
IDisposable StartAt(
    GeneratorPosition position,
    GeneratorDirection direction,
    bool allowStartAtRealizedItem
)

Parameters

  • 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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.