Moving the XAML Code Block – Visual Studio 2013

Moving the XAML Code Block – Visual Studio 2013

Visual Studio 2013 introduces a nice feature that moves the selected code block up and down. This feature was often required for code movement or refactoring code, as for example, selecting a block and moving it into a method quickly.  Here is the good news for XAML developers; Moving the code block up/down also supports in XAML code editor.

You can use ALT Key and UP / Down Arrow to move the code block up and down.

  • Alt + Up Arrow Key  – Move the selected Code Block / Line Upwards
  • Alt + Down Arrow Key – Move the selected Code Block / Line Downwards

Block XAML Code

Moving XAML Code Block UP and Down

Hope this will help you !

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.