C# Class System.Windows.Controls.ItemsControlHelper

The ItemContainerGenerator provides useful utilities for ItemsControls.
Mostrar archivo Open project: nokiadatagathering/WP7-Official Class Usage Examples

Private Properties

Property Type Description
ItemsControlHelper System.Diagnostics
OnApplyTemplate void
PrepareContainerForItemOverride void
ScrollIntoView void
UpdateItemContainerStyle void

Private Methods

Method Description
ItemsControlHelper ( ItemsControl control ) : System.Diagnostics

Initializes a new instance of the ItemContainerGenerator.

OnApplyTemplate ( ) : void

Apply a control template to the ItemsControl.

PrepareContainerForItemOverride ( DependencyObject element, System.Windows.Style parentItemContainerStyle ) : void
ScrollIntoView ( FrameworkElement element ) : void
UpdateItemContainerStyle ( System.Windows.Style itemContainerStyle ) : void

Update the style of any generated items when the ItemContainerStyle has been changed.

Silverlight does not support setting a Style multiple times, so we only attempt to set styles on elements whose style hasn't already been set.