The Brain Dump

My brain poured out on paper (or so to speak)

Browse by Tags

Tagged Content List
  • Blog Post: Visual Studio Tip #7: Whole line editing

    OK here is a quick simple one. How do I move or edit entire lines of code? #1 Just don’t select anything. If you don’t have anything selected in your code window then the commands for copy, cut and paste work as if the entire line of code was selected. So if you need to quickly duplicate...
  • Blog Post: Visual Studio Tip #4: Code Snippets

    There is lots of code that we write that follow standard patterns with some minor changes for our exact situation. Visual Studio has a nice feature called Code Snippets which provides a way to create reusable code templates for common scenarios. The idea is that you activate the snippet, then just enter...
  • Blog Post: Windows 8 ViewModel Property Code Snippet

    Visual Studio provides a bunch of good code snippets for creating boilerplate code. For example if you type “prop” you get this in intellisense You’ll see a few nice property snippets. prop – creates a basic automatic property propa – creates an attached...
  • Blog Post: Windows Phone MessageBox implements scrolling!

    Helpful quick and dirty debugging tip: I never noticed this before, but if you send a large amount of text to MessageBox.Show() on Windows Phone, it doesn’t just truncate it. It allows you to scroll through it all. Very cool. Very unlike the desktop message box. I was tinkering today with the web browser...
  • Blog Post: Give formatting its own line

    I got bitten by this not once but twice on Sunday as I hurriedly worked on a new phone app. Can you spot the difference between the the following two lines? Uri uri = new Uri( string .Format( " /View/DataView.xaml?collection={0}&id={1} " , collection, currentItem.getID(), UriKind.Relative...
Page 1 of 1 (5 items)