.NET Zone is brought to you in partnership with:

I’ve been a Windows developer since 3.0 and caught the Visual Basic wave early with v1. I’ve released a “production” application in every version of VB since then (except VB for DOS). Focusing on enterprise, line-of-business development I’ve built Call Center Applications, Mortgage finance systems, Customer Relationship Management tools and more recently I’ve been in the Litigation Support/Electronic Data Discovery/Electronically Stored Information space. Greg is a DZone MVB and is not an employee of DZone and has posted 282 posts at DZone. You can read more from them at their website. View Full User Profile

Get Mentally Unbound With "XAML Binding Basics 101"

10.15.2012
| 1103 views |
  • submit to reddit

Jerry Nixon @work - XAML Binding Basics 101

Hello Windows 8 XAML developer. XAML is a declarative UI language; it's most powerful feature is surely data binding.  But, I admit, with such power comes a lot of things to know. Let’s take a minute to step back, smell the roses, and build out some simple bindings.

Read to learn?

Referencing a control

Referencing a control in XAML is referencing a class. Declare it in XAML and the class’ constructor is executed. Your control is now in the logical tree. Every control is part of a hierarchy, with the top-most control being the page element.

SNAGHTMLc3a1600..."

This is a great and very, very easy to read and grok into to XAML binding. If you're new to XAML binding you've got to read this.

Published at DZone with permission of Greg Duncan, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)