Learn how to create a data source object to use with a table.
- At this point we have finished with x code.…I'm gonnna go ahead and hit command s…to make sure my work is saved.…And now I'm going to switch back over to visual studio.…Now I've got my table in place…and I've exposed it through the outlets…but there is a little bit more work to be done.…I basically need three classes to make this work.…Fortunately, I already have one of them.…Let's go back into character library…and let's review the inventory item item class.…This is the first thing you need.…
You need a class that holds the information…that's going to go in the columns in our table.…And that's exactly what this is.…The second thing we need is a table data source class…So I'm going to close up character library…and I'm going to close the inventory cs file.…And I'll go back over to character gui…right click,…select add,…new file…and I'll call my new class…Inventory…table…data source.…
I realize this is a fairly obvious statement,…but this classes job is to serve as the data source…for our table.…Since that's so,…I have a specific implementation requirement.…
AuthorBruce Van Horn
- Exploring C# on a Mac
- Creating a reusable code library
- Classes and properties
- Loops, arrays, and lists
- Creating a console app
- Creating a command-line app
- Creating a Mac desktop app
- Creating a UI with view controllers and actions
Skill Level Beginner
New Features Xamarin and Visual Studio 2017with Kevin Ford1h 44m Intermediate
Docker for .NET Developers with Visual Studiowith Lee Brandt46m 52s Intermediate
1. C# on the Mac?
2. Getting Started with C#
3. Deeper into C#
4. Creating a Mac App
Next steps3m 14s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.