Export (0) Print
Expand All

IRecyclingItemContainerGenerator Interface

Extends the IItemContainerGenerator interface to reuse the UI content it generates. Classes that are responsible for generating user interface (UI) content on behalf of a host implement this interface.

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

public interface IRecyclingItemContainerGenerator : IItemContainerGenerator

The IRecyclingItemContainerGenerator type exposes the following members.

  NameDescription
Public methodGenerateNext()Returns the container element used to display the next item. (Inherited from IItemContainerGenerator.)
Public methodGenerateNext(Boolean)Returns the container element used to display the next item, and whether the container element has been newly generated (realized). (Inherited from IItemContainerGenerator.)
Public methodGeneratorPositionFromIndexReturns the GeneratorPosition object that maps to the item at the specified index. (Inherited from IItemContainerGenerator.)
Public methodGetItemContainerGeneratorForPanelReturns the ItemContainerGenerator appropriate for use by the specified panel. (Inherited from IItemContainerGenerator.)
Public methodIndexFromGeneratorPositionReturns the index that maps to the specified GeneratorPosition. (Inherited from IItemContainerGenerator.)
Public methodPrepareItemContainerPrepares the specified element as the container for the corresponding item. (Inherited from IItemContainerGenerator.)
Public methodRecycleDisassociates item containers from their data items and saves the containers so they can be reused later for other data items.
Public methodRemoveRemoves one or more generated (realized) items. (Inherited from IItemContainerGenerator.)
Public methodRemoveAllRemoves all generated (realized) items. (Inherited from IItemContainerGenerator.)
Public methodStartAt(GeneratorPosition, GeneratorDirection)Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection. (Inherited from IItemContainerGenerator.)
Public methodStartAt(GeneratorPosition, GeneratorDirection, Boolean)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. (Inherited from IItemContainerGenerator.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft