[英]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: 我正在开发Windows Runtime应用程序,并且我想为子控件注册一个名称(在Xaml解析之后),就像我可以使用WPF一样,在这里使用此方法:
https://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.registername%28v=vs.110%29.aspx https://msdn.microsoft.com/zh-cn/library/system.windows.frameworkelement.registername%28v=vs.110%29.aspx
Is this possible with Windows Runtime? Windows Runtime是否可能?
No, it doesn't exist. 不,它不存在。 The WinRT API and the WPF are different.
WinRT API和WPF不同。
https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.frameworkelement.Aspx https://msdn.microsoft.com/zh-CN/library/windows/apps/windows.ui.xaml.frameworkelement.Aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.