The code-behind file is opened and the cursor is positioned in the selected event handler.
随即将打开代码隐藏文件,并将光标定位在选定的事件处理程序中。
You can define a control in the code-behind file as long as you make it protected or public.
可以在代码隐藏文件中定义控件,但要使其成为受保护或公共控件。
Then specify the value of that attribute as the name of the event handler method that you defined in the code-behind file of the XAML page.
接著将该属性的值指定为您在 XAML 页面的程式码后置档案中所定义的事件处理常式方法的名称。
应用推荐