TemplatePartAttribute.Name Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a string that reports the object model name of a template part.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.StringA string that should be used as the name of a template part in a template.
The Name value of a given template part should be set as the Name or x:Name attribute value on the object element that instantiates the template part in the new control template XAML. Otherwise, the control might not function correctly.
Show: