745
Comment:
|
1304
|
Deletions are marked like this. | Additions are marked like this. |
Line 21: | Line 21: |
=== Program Greetings p. 47 === | === Program Baskervilles === |
Line 23: | Line 23: |
|| '''Class''' || '''Notes''' || '''Page''' || || Color || very css like in nature, immutable, creation takes double or int - be careful on which one you use|| 47 || |
Page 41. Concepts: 1. Shows that text wraps inside a label be default. 1. Shows the use of Device.OnPlatform for padding. Classes: 1. Label is demonstrated. === Greetings from the previous Chapter === Pages 44, 45, 52. Concepts 1. TextAlignment 1. BackgroundColor 1. TextColor 1. FontAttributes No new classes. === {{{VariableFormatedText}}} === Pages 53, 54 Concepts: 1. FontSize (named) 1. FontAttributes (bold, italic...) Classes: 1. NamedSize - is related to the font sizes 1. Device.GetNamedSize(NamedSize.Large, typeof(Label)) returns an appropriate font size for the platform. 1. FontAttributes e.g. FontAttributes.Bold === VariableFormatedParagraph === |
Chapter 3 Notes
Deepter into text
Summary
So much ado about Labels and the text in them.
Programming Concepts
Concept |
Page |
Text wraps automatically in labels |
42 |
Text & Background Colors |
44 |
Coloring |
46-47 |
Changing the Application Color Scheme |
50 |
Font sizes and attributes - includes FontFamily, FontSize, FontAttributes |
51 |
Formatting text in a Span is similar to formatting text in html |
53 |
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.
Greetings from the previous Chapter
Pages 44, 45, 52.
Concepts
No new classes.
{{{VariableFormatedText}}}
Pages 53, 54
Concepts:
FontSize (named)
FontAttributes (bold, italic...)
Classes:
NamedSize - is related to the font sizes
Device.GetNamedSize(NamedSize.Large, typeof(Label)) returns an appropriate font size for the platform.
FontAttributes e.g. FontAttributes.Bold