Developer's Academy: F12 Go To Definition in XAML !!

Thursday, 29 January 2015

F12 Go To Definition in XAML !!

XAML Editor in Visual Studio 2013 supports the feature of "Go To Definition (F12)". Behavior of this feature is similar to C# or other code editors within Visual Studio. Select “Go To Definition” for any of the objects, XAML controls, Control Properties or even custom controls from the XAML Editor. Selecting "Go To Definition" for binding element resulting to take the navigation to the code behind property definition.

Following images below shows that when i right click (or press F12) on the "click event" of the button and select "Go To Definition", it will take us to the definition of the button in the code behind.



This is one of the short, simple and most useful feature of Visual Studio. This feature saves a lot of time during debugging as well as development. Now you can enjoy this feature with XAML Editor as well.

No comments:

Post a Comment