Saturday, July 24, 2010

Starting My First Windows App

I started on the next lab ("Building Your First Windows Phone 7 Application" today, and just finished the first exercise - most of it was very very similar to the Hello World lab, but importantly, navigation between pages was covered. A couple of notes:

- I'm guessing height = .8* and height = .2* means 80% and 20% of available space, respectively?

- Since the stack trace for the exception is pretty long, I thought it would be a good idea to make the error page content scrollable; this is pretty easy to do in XAML by wrapping the TextBlock in a ScrollViewer.


    
        
            
        
    


Looking up the scrolling thing I also segued into the (current lack of, but probably eventually available) Panorama control; but here's one I came cross from a proper WP7 dev.


Eventually it would also be nice to learn how to do better transitions between pages, like the OS does natively - my gut feeling is that it will involve Expressions Blend in some form or fashion :)

[ps. have a look at this site for code syntax styles, as I used above]

No comments:

Post a Comment