845
Comment:
|
1804
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Chapter 4 Notes = |
= Chapter 4 Notes (start on "Frame and BoxView) = |
Line 6: | Line 5: |
All about scrolling a page that doesn't fit on the screen. |
All about scrolling a page that doesn't fit on the screen. |
Line 10: | Line 8: |
||'''Concept''' ||'''Page''' || || New Layouts were introduced: {{{AbsoluteLayout, Grid, RelativeLayout, StackLayout}}}, we'll be focusing on {{{StackLayout}}} || 60 || || Scrolling content - Using {{{LayoutOptions}}}.{{{[Start|Center|End|Fill]AndExpand}}} to allow the element that will scroll to fill the space || 70 || || Reflection and Linq to objects to create a list of Labels that show the results of different options || 72 || |
|
Line 11: | Line 13: |
|| '''Concept''' || '''Page''' || | |
Line 15: | Line 16: |
=== VerticalOptionsDemo === Page Concepts: 1. Linq to objects to create an IEnumerable<Label> set. 1. Reflection Classes: No new classes yet. The image below shows the output. The Blue background text labels fit exactly the text contained in them. The yellow background text labels contain a label that has the "AndExpand" appended. These labels are not a different size (except the last one) but occupy a more spacious spot on the screen. The last one is a FillAndExpand and it actually does change the size of the Label because it fills the available space. {{attachment:VerticalOptionsForStackLayoutContents.png}} |
|
Line 16: | Line 31: |
Page |
Page |
Line 23: | Line 37: |
Classes: | Classes: |
Line 28: | Line 42: |
Page |
Page |
Line 35: | Line 48: |
Classes: | Classes: |
Line 40: | Line 53: |
Page |
Page |
Line 47: | Line 59: |
Classes: | Classes: |
Line 52: | Line 64: |
Page |
Page |
Line 59: | Line 70: |
Classes: | Classes: |
Line 64: | Line 75: |
Page |
Page |
Line 71: | Line 81: |
Classes: | Classes: |
Line 76: | Line 86: |
Page |
Page |
Line 83: | Line 92: |
Classes: | Classes: |
Line 88: | Line 97: |
Page |
Page |
Line 95: | Line 103: |
Classes: | Classes: |
Line 98: | Line 106: |
=== VerticalOptionsDemo === Page Concepts: 1. ? Classes: 1. ? |
Chapter 4 Notes (start on "Frame and BoxView)
Title: Scrolling the Stack
Summary
All about scrolling a page that doesn't fit on the screen.
Programming Concepts Summary
Concept |
Page |
New Layouts were introduced: AbsoluteLayout, Grid, RelativeLayout, StackLayout, we'll be focusing on StackLayout |
60 |
Scrolling content - Using LayoutOptions.[Start|Center|End|Fill]AndExpand to allow the element that will scroll to fill the space |
70 |
Reflection and Linq to objects to create a list of Labels that show the results of different options |
72 |
Programs
VerticalOptionsDemo
Page
Concepts:
Linq to objects to create an IEnumerable<Label> set.
- Reflection
Classes: No new classes yet.
The image below shows the output. The Blue background text labels fit exactly the text contained in them. The yellow background text labels contain a label that has the "AndExpand" appended. These labels are not a different size (except the last one) but occupy a more spacious spot on the screen. The last one is a FillAndExpand and it actually does change the size of the Label because it fills the available space.
BlackCat
Page
Concepts:
- ?
Classes:
- ?
ColorBlocks
Page
Concepts:
- ?
Classes:
- ?
ColorList
Page
Concepts:
- ?
Classes:
- ?
ColorLoop
Page
Concepts:
- ?
Classes:
- ?
FramedText
Page
Concepts:
- ?
Classes:
- ?
ReflectedColors
Page
Concepts:
- ?
Classes:
- ?
SizedBoxView
Page
Concepts:
- ?
Classes:
- ?