什么是shorcut在Visual Studio中的code后面切换为XAML code? [英] What is the shorcut in visual studio to switch from code behind to Xaml Code?

查看:287
本文介绍了什么是shorcut在Visual Studio中的code后面切换为XAML code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经习惯了preSS Shift + F7之间背着我code和设计师(这需要1-5秒钟的加载)开关,然后我总是要点击查看XAML中修改我XAML code。

I'm used to press shift+F7 to switch between my code behind and the designer (which takes between 1 and 5 seconds to load) then I always have to click on View Xaml to modify my XAML code.

我不觉得在工具/选项/键盘快捷键的任何直接去(由code后面XAML code)。我该怎么办呢?

I don't find any shortcut in Tools/Options/Keyboard to go directly (from code behind to XAML code). How can I do that ?

推荐答案

在VS2008中,而在code隐藏您的XAML页面(.xaml.cs),pressing SHIFT-F7将带您到在XAML设计器或XAML code页面,具体取决于有最新的焦点。再次pressing SHIFT-F7将带你从XAML code网页设计师,反之亦然。

In VS2008, while in code-behind of your XAML page (.xaml.cs), pressing SHIFT-F7 will take you to the XAML Designer or the XAML code page, depending on which one had the latest focus. Pressing SHIFT-F7 again will take you from the XAML code page to the designer and vice versa.

而在XAML设计或XAML code页面,pressing F7带你到后面页相关的code。

While in the XAML designer or XAML code page, pressing F7 takes you to the related code behind page.

这篇关于什么是shorcut在Visual Studio中的code后面切换为XAML code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆