Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Part 3: Introduction to XAML

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Option selected may change based on video formats available and browser capability.

Close

Download

Right click “Save as…”

Now that we have a project, it's time to learn XAML for user interface layout and interaction.  Bob provides a fast but gentle introduction -- as he calls it, the "cheater's guide" -- to learning this declarative language.  He explains what XAML is at a high level and its justification.  He provides hands-on, practical examples of XAML layout controls, attached properties, navigating between the XAML and code-behind files / partial classes and how the XAML and C# is compiled into intermediate language. 

 

Download the entire series' source code

Tags:

Follow the Discussion

  • I regret to say this.. Channel videos have very poor quality.. I am not able to see exactly what they are showing.. Please maintain some quality in videos..

  • @vijaymca:  Please DOWNLOAD the video and watch locally.  The videos are high def 1280x720.  Chances are Silverlight streaming is throttling the quality based on your bandwidth.

  • I think your browser does not support downloading stuff otherwise you would have downloaded silverlight automatically once you see a dialog asking you to download serverlight in order to view this video - sorry @vijaymca there is nothing to do in maintaining quality of content.

    Enjoy the rest.

     

  • @vijaymca Downloading the video helps with switching between the video and coding also.

  • I don't have Windows Store templates available (VS 2012 on Win 7).  (Our system administrators install software on our machines; it's *possible* they excluded this from the installation, if it's an option; although I'm not sure they *would* exclude something that specific.)  Is there somewhere I can get them?  Or do I have to be running Windows 8?

  • @Yakko Warner: Unfortunately, building Windows 8 Store apps *requires* Windows 8.  That may be why you don't see the templates.

  • EatDrinkCodeEatDrinkCode

    TextBlock textBlock2 = new TextBlock();
    After writing the code above, haven't we already specified a name for our text block? I mean, is it necessary to write the code below?
    textBlock2.Name = "textBlock2";

  • @EatDrinkCode: Yes, in this particular code block you've given it a name.  Referencing it elsewhere may need the name ... I would have to test that.  The bigger point that I'm making here with the XAML / C# comparison is the important one: that XAML is simply a declarative, short-hand way of creating an instance of a class and setting its properties when compared to the imperative approach of C#.  I just wanted this to be a fair 1-to-1 comparison ... nothing more was intended.  Hope that helps!

  • AliAli

    Nyc tutorial for beginners . Thanksss

  • DavidDavid

    Is there a way to download all videos at once?

  • @David: Not that I'm aware of.  Sorry ... that's great feedback for the Channel9 team ... use the Feedback link in the footer so they can consider making that available in the future.  Thanks!

  • Yousif HashishoYousif Hashisho

    When I run the program in this part (3), an error Named (global::System.Diagnostics.Debugger.IsAttached) it's value is "true" and type is "bool" appears.
    and a new page called App.g.i.cs opens
    any help about this issue ?

  • @Yousif Hashisho: Did you try to open the project I created (sample code) or did you try to build this from scratch yourself?  I'm not sure why this would happen, but if you can give me some additional information, we can figure it out together.

  • V RamboV Rambo

    thanks for this video BOB (bob the builder),,,,i have one question that instead of doing this layout by coding in VS, coz it takes more time and coding can we do it using blend? bcoz in blend its easy and fast.

  • @V Rambo: Have you seen this?

    http://blendinsider.com/technical/getting-started-xaml-authoring-with-blend-for-vs-2012-2012-08-30/#more-1225

    It's what you're looking for (I think).  It's the CONTOSO COOKBOOK!!!  Smiley  I'm not a Blend guy, but the demo in the videos on that page are pretty compelling.  Good luck!

  • SirGammeSirGamme

    The download works perfectly for me, great quality as well! Thanks for doing this, BobTabor.

  • SirGammeSirGamme

    The download works perfectly for me, great quality as well! Thanks for doing this, BobTabor.

Remove this comment

Remove this thread

close

Comment on the Post

Already have a Channel 9 account? Please sign in