Moving the XAML Code Block – Visual Studio 2013

By | February 12, 2014

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 !