Data-Binding to Controls
Silverlight 4 introduces the drag’n’drop data-binding, which works like the same technique in WPF. This is useful in WCF RIA Services applications, because it enables easily generating data-oriented web pages. At this point you need to add user controls for showing data within the desired page. In the Silverlight project, expand the Views folder and double-click the Home.xaml page. You could consider adding a dedicated page but for the sake of simplicity, an existing one can do the work the same. When the page is opened inside the Visual Studio designer, build the project and then open the Data Sources window by selecting the Data, Show Data Sources command. In the Data Sources window you find some business objects produced ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access