ItemContainerGenerator.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
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Private Function StartAt ( _
position As GeneratorPosition, _
direction As GeneratorDirection, _
allowStartAtRealizedItem As Boolean _
) As IDisposable Implements IItemContainerGenerator.StartAt
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.IDisposable
An IDisposable object that tracks the lifetime of the generation process.
Implements
IItemContainerGenerator.StartAt(GeneratorPosition, GeneratorDirection, Boolean)
Remarks
This member is an explicit interface member implementation. It can be used only when the ItemContainerGenerator instance is cast to an IItemContainerGenerator interface.
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.