Search code examples
c#windows-runtimewinrt-xamlwindows-rt

Is There a FrameworkElement.RegisterName Equivalent in WinRT?


I am developing a Windows Runtime application, and I would like to register a name for a child control (after Xaml parsing), just like I can do with WPF, using this method here:

https://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.registername%28v=vs.110%29.aspx

Is this possible with Windows Runtime?


Solution

  • No, it doesn't exist. The WinRT API and the WPF are different.

    https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.frameworkelement.Aspx