DataTemplateKey.DataType Property

Silverlight

Gets or sets the type for which the template is intended.

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

public Object DataType { get; set; }

Property Value

Type: System.Object
The type of object to which the template is applied.

ExceptionCondition
ArgumentException

When setting this property, the specified value 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: