DataTemplateKey DataTemplateKey DataTemplateKey DataTemplateKey Class

Definition

Represents the resource key for the DataTemplate class.

public : class DataTemplateKey : IDataTemplateKey
struct winrt::Windows::UI::Xaml::DataTemplateKey : IDataTemplateKey
public class DataTemplateKey : IDataTemplateKey
Public Class DataTemplateKey Implements IDataTemplateKey
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.

DataTemplateKey(Object) DataTemplateKey(Object) DataTemplateKey(Object) DataTemplateKey(Object)

Initializes a new instance of the DataTemplateKey class with the specified type.

Properties

DataType DataType DataType DataType

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

See Also