GenerateNext Method
Collapse the table of content
Expand the table of content

IItemContainerGenerator.GenerateNext Method

Returns the container element used to display the next item.

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

DependencyObject GenerateNext()
You cannot use methods in XAML.

Return Value

Type: System.Windows.DependencyObject
A DependencyObject that is the container element which is used to display the next item.

GenerateNext must be called within the scope of the IDisposable reference that is returned by a previous call to the StartAt method.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2016 Microsoft