Initializes the data context of the ContentControl to be used as a content template.

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

Syntax

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

Parameters

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

See Also