Bewerken

Share via


IRecyclingItemContainerGenerator Interface

Definition

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.

public interface class IRecyclingItemContainerGenerator : System::Windows::Controls::Primitives::IItemContainerGenerator
public interface IRecyclingItemContainerGenerator : System.Windows.Controls.Primitives.IItemContainerGenerator
type IRecyclingItemContainerGenerator = interface
    interface IItemContainerGenerator
Public Interface IRecyclingItemContainerGenerator
Implements IItemContainerGenerator
Derived
Implements

Methods

GenerateNext()

Returns the container element used to display the next item.

(Inherited from IItemContainerGenerator)
GenerateNext(Boolean)

Returns the container element used to display the next item, and whether the container element has been newly generated (realized).

(Inherited from IItemContainerGenerator)
GeneratorPositionFromIndex(Int32)

Returns the GeneratorPosition object that maps to the item at the specified index.

(Inherited from IItemContainerGenerator)
GetItemContainerGeneratorForPanel(Panel)

Returns the ItemContainerGenerator appropriate for use by the specified panel.

(Inherited from IItemContainerGenerator)
IndexFromGeneratorPosition(GeneratorPosition)

Returns the index that maps to the specified GeneratorPosition.

(Inherited from IItemContainerGenerator)
PrepareItemContainer(DependencyObject)

Prepares the specified element as the container for the corresponding item.

(Inherited from IItemContainerGenerator)
Recycle(GeneratorPosition, Int32)

Disassociates item containers from their data items and saves the containers so they can be reused later for other data items.

Remove(GeneratorPosition, Int32)

Removes one or more generated (realized) items.

(Inherited from IItemContainerGenerator)
RemoveAll()

Removes all generated (realized) items.

(Inherited from IItemContainerGenerator)
StartAt(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)
StartAt(GeneratorPosition, GeneratorDirection)

Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection.

(Inherited from IItemContainerGenerator)

Applies to