Initializes the data context of the ContentControl to be used as an item template.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.Data.Controls (in DlhSoft.Data.Controls.dll)

Syntax

C#
protected internal virtual void InitializeItemTemplateDataContext(
	FrameworkElementFactory contentControlFactory
)
Visual Basic (Declaration)
Protected Friend Overridable Sub InitializeItemTemplateDataContext ( _
	contentControlFactory As FrameworkElementFactory _
)

Parameters

contentControlFactory
Type: System.Windows..::.FrameworkElementFactory
The source ContentControl factory to set the data context for.

See Also