Version

BeginGeneration(ScrollDirection,IEnumerable) Method

Called at the beginning of the generation process.
Syntax
'Declaration
 
Protected Overloads Sub BeginGeneration( _
   ByVal scrollDirection As ScrollDirection, _
   ByVal itemsExpectedToBeGenerated As IEnumerable _
) 
protected void BeginGeneration( 
   ScrollDirection scrollDirection,
   IEnumerable itemsExpectedToBeGenerated
)

Parameters

scrollDirection
Relative to the last generation to let the generator optimize the recycling logic.
itemsExpectedToBeGenerated
An optional list of items are are expected to be generated. This is used to optimize eleme nt recycling.
Remarks

This method is usually called at the beginnning of a RecyclingItemsPanel derived class's MeasureOverride logic. This is normally followed by one or more StartAt(GeneratorPosition,GeneratorDirection,Boolean)%M:Infragistics.Windows.Virtualization.RecyclingItemContainerGenerator.GenerateNext(System.Boolean@)% loops to generate all 'active' containers. Finally, the EndGeneration method is called at the end of the measure logic.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also