Szerkesztés

Megosztás a következőn keresztül:


DataTemplate.DataTemplateKey Property

Definition

Gets the default key of the DataTemplate.

public:
 property System::Object ^ DataTemplateKey { System::Object ^ get(); };
public object DataTemplateKey { get; }
member this.DataTemplateKey : obj
Public ReadOnly Property DataTemplateKey As Object

Property Value

The default key of the DataTemplate.

Remarks

If you do not set the x:Key Directive on a DataTemplate that is in a ResourceDictionary, the DataTemplateKey is used as the key.

Applies to