Using the DataForm


show more Using the DataForm provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training show less
please wait ...

Using the DataForm

The DataForm is a control for editing a single row in a data source. It shows a customizable form with data entry controls for each field in the underlying data entity. You can bind the DataForm to a multi-row source, but you can only see one row at a time. For this demonstration, I'll use Visual Studio and a project called UsingTheDataForm. I'll start by looking at my data source classes. If you've seen some of the other movies in this chapter, you've seen the RentalHouse class. This has a slight modification from some of the other demos.

I have an enumeration called location, and I'm using that when I set my property here. It's for the Location properties using the Location enumeration. And then my RentalManager class is just instantiating those types again, and it's using that brand-new enumeration value here. So that's my source. I'm going to go to this BasicForm and I'm going to add a DataForm. This is what the DataForm looks like before it'...

Using the DataForm
Video duration: 3m 49s 8h 52m Beginner

Viewers:

Using the DataForm provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training

Subject:
Developer
Software:
Silverlight Visual Studio
Author:
please wait ...