Version

BeginGeneration(ScrollDirection) Method

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

Parameters

scrollDirection
Relative to the last generation to let the generator optimize the recycling logic.
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