HierarchicalDataTemplate Constructor (Object)
Collapse the table of content
Expand the table of content

HierarchicalDataTemplate.HierarchicalDataTemplate(Object) Constructor

Initializes a new instance of the HierarchicalDataTemplate class with the specified type for which the template is intended.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)

public HierarchicalDataTemplate (
	Object dataType
)
public HierarchicalDataTemplate (
	Object dataType
)
public function HierarchicalDataTemplate (
	dataType : Object
)
You cannot use constructors in XAML.

Parameters

dataType

The type for which this template is intended. This is either a common language runtime (CLR) object or a string representing an XML element. For more information, see Binding Sources Overview.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2016 Microsoft