TemplateKey.DataType Property


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

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

public object DataType { get; set; }

Property Value

Type: System.Object

The Type that specifies the type of object that the template is used to display, or a string that specifies the XML tag name for the XML data that the template is used to display.

.NET Framework
Available since 3.0
Return to top