Differences between revisions 3 and 4
Revision 3 as of 2016-09-12 23:42:24
Size: 1067
Editor: scot
Comment:
Revision 4 as of 2016-09-12 23:42:48
Size: 1079
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
Converter Classes: Below the "Color" class has a TypeConverter attribute added. Attributes in this context means that the defined attributed class is "added" to the decorated class. That means that you may have additional properties because of the decoration. You might say that Color now has a TypeConverter object that is instantiated with a Type - in this case the:
typeof(ColorTypeConverter)
Converter Classes: Below the "Color" class has a {{{TypeConverter}}} attribute added. Attributes in this context means that the defined attributed class is "added" to the decorated class. That means that you may have additional properties because of the decoration. You might say that Color now has a TypeConverter object that is instantiated with a Type - in this case the:
{{{typeof(ColorTypeConverter)}}}

Chapter 7 Notes

Title: XAML vs. Code

Summary

  • XAML is a better way to write up the "view" part of MVVM.
  • XAML is used to write the tree-structured visual user interface

Concepts Not in programs

Converter Classes: Below the "Color" class has a TypeConverter attribute added. Attributes in this context means that the defined attributed class is "added" to the decorated class. That means that you may have additional properties because of the decoration. You might say that Color now has a TypeConverter object that is instantiated with a Type - in this case the: typeof(ColorTypeConverter)

This, of course, means that Color has additional functionality! We'll learn more about this later!

   1 [TypeConverter (typeof(ColorTypeConverter))]
   2 public struct Color
   3 {
   4 
   5 }

Programs

Program Baskervilles

Page 41.

Concepts:

  1. Shows that text wraps inside a label be default.
  2. Shows the use of Device.OnPlatform for padding.

Classes:

  1. Label is demonstrated.

ManagingAndProgrammingMobileApplications/Xamarin/Chapter 7 (last edited 2016-09-13 00:13:55 by scot)