Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ItemContainerTemplateKey Property
Collapse the table of content
Expand the table of content

ItemContainerTemplate.ItemContainerTemplateKey Property

.NET Framework 4.6 and 4.5

Gets the default key of the ItemContainerTemplate.

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

public Object ItemContainerTemplateKey { get; }

Property Value

Type: System.Object
The default key of the ItemContainerTemplate.

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

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft