DataTemplate Constructor (Object)

Initializes a new instance of the DataTemplate class, setting the DataType property to the specified value.

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

public DataTemplate(
	Object dataType
)

Parameters

dataType
Type: System.Object
The initial value of the DataType property.

ExceptionCondition
ArgumentException

dataType is not of type Type.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: