Container Generator Interface
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An interface that is implemented by classes which are responsible for generating user interface (UI) content on behalf of a host.
public interface class IItemContainerGenerator
public interface IItemContainerGenerator
type IItemContainerGenerator = interface
Public Interface IItemContainerGenerator
ItemsControl is the base class for containing and displaying one or more data items. ItemContainerGenerator maintains an association between ItemsControl and the list of items that are displayed by ItemsControl. ItemContainerGenerator is also responsible for generating the UI for those items on behalf of ItemsControl. Panel, VirtualizingPanel, and VirtualizingStackPanel also use ItemContainerGenerator for the same reason.
Returns the container element used to display the next item.
Returns the container element used to display the next item, and whether the container element has been newly generated (realized).
Returns the GeneratorPosition object that maps to the item at the specified index.
Returns the ItemContainerGenerator appropriate for use by the specified panel.
Returns the index that maps to the specified GeneratorPosition.
Prepares the specified element as the container for the corresponding item.
Removes one or more generated (realized) items.
Removes all generated (realized) items.
|StartAt(GeneratorPosition, GeneratorDirection, Boolean)|