426
Comment:
|
1087
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Chapter X Notes = | = Chapter 7 Notes = |
Line 3: | Line 3: |
Title: '''Deepter into text''' | Title: '''XAML vs. Code''' |
Line 7: | Line 7: |
So much ado about Labels and the text in them. | * XAML is a better way to write up the "view" part of MVVM. * XAML is used to write the tree-structured visual user interface |
Line 9: | Line 10: |
=== Programming Concepts Summary === | |
Line 11: | Line 11: |
|| '''Concept''' || '''Page''' || | == 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! {{{#!csharp [TypeConverter (typeof(ColorTypeConverter))] public struct Color { … } }}} |
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!
Programs
Program Baskervilles
Page 41.
Concepts:
- Shows that text wraps inside a label be default.
Shows the use of Device.OnPlatform for padding.
Classes:
- Label is demonstrated.