IItemContainerGenerator Interface

An interface that is implemented by classes which are responsible for generating user interface (UI) content on behalf of a host.

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

public interface IItemContainerGenerator
Interfaces cannot be used directly in XAML; see types that implement this interface.

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.

ItemContainerGenerator implements IItemContainerGenerator and is the interface through which each of the mentioned layout elements communicate with ItemContainerGenerator.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft