ControlGetTemplateChild Method |
Retrieves the named element in the instantiated ControlTemplate visual tree.
Namespace: Windows.UI.Xaml.ControlsAssembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax protected DependencyObject GetTemplateChild(
string childName
)
Parameters
- childName
- Type: SystemString
The name of the element to find.
Return Value
Type:
DependencyObject
The named element from the template, if the element is found. Can return
null if no element with name childName was found in the template.
See Also