DataTemplateKey
DataTemplateKey
DataTemplateKey
DataTemplateKey
Class
Definition
Represents the resource key for the DataTemplate class.
public : class DataTemplateKey : IDataTemplateKeypublic class DataTemplateKey : IDataTemplateKeyPublic Class DataTemplateKey Implements IDataTemplateKey// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
DataTemplateKey represents an underlying type for a resource key (x:Key attribute of a DataTemplate ) that is used for resource lookup internally instead of a string. It exists mainly for infrastructure, you don't use this type directly in any common XAML data binding scenario.
Constructors
DataTemplateKey() DataTemplateKey() DataTemplateKey() DataTemplateKey()
Initializes a new instance of the DataTemplateKey class.
public : DataTemplateKey()public DataTemplateKey()Public Sub New()// This API is not available in Javascript.
- See Also
DataTemplateKey(Object) DataTemplateKey(Object) DataTemplateKey(Object) DataTemplateKey(Object)
Initializes a new instance of the DataTemplateKey class with the specified type.
public : DataTemplateKey(PlatForm::Object dataType)public DataTemplateKey(Object dataType)Public Sub New(dataType As Object)// This API is not available in Javascript.
Parameters
- dataType
- PlatForm::Object Object Object Object
The type for which this template is designed.
Properties
DataType DataType DataType DataType
Gets or sets the type for which the template is designed.
public : PlatForm::Object DataType { get; set; }public object DataType { get; set; }Public ReadWrite Property DataType As object// This API is not available in Javascript.
- Value
- PlatForm::Object object object object
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.